Documentation

Unity Engine

Download Unity

Unity Engine

UNITY_HARDWARE_TIER1

UNITY_HARDWARE_TIER1 is set when compiling shaders for GraphicsTier.Tier1.
Read time 1 minuteLast updated 8 days ago

Definition

UNITY_HARDWARE_TIER1 = 19

Remarks

Important: This API is compatible only with the Built-In Render Pipeline, which is no longer supported. The Universal Render Pipeline (URP) doesn't use graphics tiers. To adjust rendering for different devices in URP, assign a different URP Asset to each quality level.
Unity generates tier shader variants if your shader source code includes
#pragma hardware_tier_variants
, or if the Tier settings for your project are not all identical.
For more information on Graphics tiers and shader variants, see Graphics tiers.