Class ShaderKeywordStrings
Container class for keywords used in URP shaders.
Inheritance
Namespace: UnityEngine.Rendering.Universal
Assembly: solution.dll
Syntax
public static class ShaderKeywordStrings
Fields
AdditionalLightShadows
Keyword used for shadows on additional lights.
Declaration
public const string AdditionalLightShadows
Field Value
Type | Description |
---|---|
string |
AdditionalLightsPixel
Keyword used for per pixel additional lights.
Declaration
public const string AdditionalLightsPixel
Field Value
Type | Description |
---|---|
string |
AdditionalLightsVertex
Keyword used for per vertex additional lights.
Declaration
public const string AdditionalLightsVertex
Field Value
Type | Description |
---|---|
string |
BillboardFaceCameraPos
Keyword used for Billboard cameras.
Declaration
public const string BillboardFaceCameraPos
Field Value
Type | Description |
---|---|
string |
BlitSingleSlice
Keyword used for Single Slice Blits.
Declaration
public const string BlitSingleSlice
Field Value
Type | Description |
---|---|
string |
BloomHQ
Keyword used for high quality Bloom.
Declaration
public const string BloomHQ
Field Value
Type | Description |
---|---|
string |
BloomHQDirt
Keyword used for high quality Bloom dirt.
Declaration
public const string BloomHQDirt
Field Value
Type | Description |
---|---|
string |
BloomLQ
Keyword used for low quality Bloom.
Declaration
public const string BloomLQ
Field Value
Type | Description |
---|---|
string |
BloomLQDirt
Keyword used for low quality Bloom dirt.
Declaration
public const string BloomLQDirt
Field Value
Type | Description |
---|---|
string |
CastingPunctualLightShadow
Keyword used during shadow map generation to differentiate between directional and punctual light shadows, as they use different formulas to apply Normal Bias.
Declaration
public const string CastingPunctualLightShadow
Field Value
Type | Description |
---|---|
string |
ChromaticAberration
Keyword used for Chromatic Aberration.
Declaration
public const string ChromaticAberration
Field Value
Type | Description |
---|---|
string |
DBufferMRT1
Keyword used for first target in the DBuffer.
Declaration
public const string DBufferMRT1
Field Value
Type | Description |
---|---|
string |
DBufferMRT2
Keyword used for second target in the DBuffer.
Declaration
public const string DBufferMRT2
Field Value
Type | Description |
---|---|
string |
DBufferMRT3
Keyword used for third target in the DBuffer.
Declaration
public const string DBufferMRT3
Field Value
Type | Description |
---|---|
string |
DEBUG_DISPLAY
Keyword used for Debug Display.
Declaration
public const string DEBUG_DISPLAY
Field Value
Type | Description |
---|---|
string |
DIRLIGHTMAP_COMBINED
Keyword used for combined directional Lightmaps.
Declaration
public const string DIRLIGHTMAP_COMBINED
Field Value
Type | Description |
---|---|
string |
DOWNSAMPLING_SIZE_16
Keyword used for sixteenth size downsampling.
Declaration
public const string DOWNSAMPLING_SIZE_16
Field Value
Type | Description |
---|---|
string |
DOWNSAMPLING_SIZE_2
Keyword used for half size downsampling.
Declaration
public const string DOWNSAMPLING_SIZE_2
Field Value
Type | Description |
---|---|
string |
DOWNSAMPLING_SIZE_4
Keyword used for quarter size downsampling.
Declaration
public const string DOWNSAMPLING_SIZE_4
Field Value
Type | Description |
---|---|
string |
DOWNSAMPLING_SIZE_8
Keyword used for eighth size downsampling.
Declaration
public const string DOWNSAMPLING_SIZE_8
Field Value
Type | Description |
---|---|
string |
DYNAMICLIGHTMAP_ON
Keyword used for dynamic Lightmaps.
Declaration
public const string DYNAMICLIGHTMAP_ON
Field Value
Type | Description |
---|---|
string |
DecalLayers
Keyword used for Decal Layers.
Declaration
public const string DecalLayers
Field Value
Type | Description |
---|---|
string |
DecalNormalBlendHigh
Keyword used for high quality normal reconstruction in Decals.
Declaration
public const string DecalNormalBlendHigh
Field Value
Type | Description |
---|---|
string |
DecalNormalBlendLow
Keyword used for low quality normal reconstruction in Decals.
Declaration
public const string DecalNormalBlendLow
Field Value
Type | Description |
---|---|
string |
DecalNormalBlendMedium
Keyword used for medium quality normal reconstruction in Decals.
Declaration
public const string DecalNormalBlendMedium
Field Value
Type | Description |
---|---|
string |
DepthMsaa2
Keyword used for Multi Sampling Anti-Aliasing (MSAA) with 2 per pixel sample count.
Declaration
public const string DepthMsaa2
Field Value
Type | Description |
---|---|
string |
DepthMsaa4
Keyword used for Multi Sampling Anti-Aliasing (MSAA) with 4 per pixel sample count.
Declaration
public const string DepthMsaa4
Field Value
Type | Description |
---|---|
string |
DepthMsaa8
Keyword used for Multi Sampling Anti-Aliasing (MSAA) with 8 per pixel sample count.
Declaration
public const string DepthMsaa8
Field Value
Type | Description |
---|---|
string |
DepthNoMsaa
Keyword used for no Multi Sampling Anti-Aliasing (MSAA).
Declaration
public const string DepthNoMsaa
Field Value
Type | Description |
---|---|
string |
DisableTexture2DXArray
Keyword used for disabling Texture 2D Arrays.
Declaration
public const string DisableTexture2DXArray
Field Value
Type | Description |
---|---|
string |
Distortion
Keyword used for Distortion.
Declaration
public const string Distortion
Field Value
Type | Description |
---|---|
string |
Dithering
Keyword used for Dithering.
Declaration
public const string Dithering
Field Value
Type | Description |
---|---|
string |
EDITOR_VISUALIZATION
Keyword used for editor visualization.
Declaration
public const string EDITOR_VISUALIZATION
Field Value
Type | Description |
---|---|
string |
EVALUATE_SH_MIXED
Keyword used for mixed Spherical Harmonic (SH) evaluation in URP Lit shaders.
Declaration
public const string EVALUATE_SH_MIXED
Field Value
Type | Description |
---|---|
string |
EVALUATE_SH_VERTEX
Keyword used for vertex Spherical Harmonic (SH) evaluation in URP Lit shaders.
Declaration
public const string EVALUATE_SH_VERTEX
Field Value
Type | Description |
---|---|
string |
EasuRcasAndHDRInput
Keyword used for Robust Contrast-Adaptive Sharpening (RCAS) when doing upsampling, after EASU has ran and with HDR Dsiplay output.
Declaration
public const string EasuRcasAndHDRInput
Field Value
Type | Description |
---|---|
string |
FilmGrain
Keyword used for Film Grain.
Declaration
public const string FilmGrain
Field Value
Type | Description |
---|---|
string |
FoveatedRenderingNonUniformRaster
Keyword used for foveated rendering.
Declaration
public const string FoveatedRenderingNonUniformRaster
Field Value
Type | Description |
---|---|
string |
Fxaa
Keyword used for Fast Approximate Anti-aliasing (FXAA).
Declaration
public const string Fxaa
Field Value
Type | Description |
---|---|
string |
FxaaAndGamma20
Keyword used for Fast Approximate Anti-aliasing (FXAA) with Gamma 2.0 encoding.
Declaration
public const string FxaaAndGamma20
Field Value
Type | Description |
---|---|
string |
Gamma20
Keyword used for Gamma 2.0.
Declaration
public const string Gamma20
Field Value
Type | Description |
---|---|
string |
HDRGrading
Keyword used for HDR Color Grading.
Declaration
public const string HDRGrading
Field Value
Type | Description |
---|---|
string |
HighQualitySampling
Keyword used for high quality sampling for Depth Of Field.
Declaration
public const string HighQualitySampling
Field Value
Type | Description |
---|---|
string |
LIGHTMAP_ON
Keyword used for Lightmaps.
Declaration
public const string LIGHTMAP_ON
Field Value
Type | Description |
---|---|
string |
LOD_FADE_CROSSFADE
Keyword used for LOD Crossfade.
Declaration
public const string LOD_FADE_CROSSFADE
Field Value
Type | Description |
---|---|
string |
LightCookies
Keyword used for Light Cookies.
Declaration
public const string LightCookies
Field Value
Type | Description |
---|---|
string |
LightLayers
Keyword used for Light Layers.
Declaration
public const string LightLayers
Field Value
Type | Description |
---|---|
string |
LightmapShadowMixing
Keyword used for mixing lightmap shadows.
Declaration
public const string LightmapShadowMixing
Field Value
Type | Description |
---|---|
string |
LinearToSRGBConversion
Keyword used for Linear to SRGB conversions.
Declaration
public const string LinearToSRGBConversion
Field Value
Type | Description |
---|---|
string |
MainLightShadowCascades
Keyword used for shadows with cascades.
Declaration
public const string MainLightShadowCascades
Field Value
Type | Description |
---|---|
string |
MainLightShadowScreen
Keyword used for screen space shadows.
Declaration
public const string MainLightShadowScreen
Field Value
Type | Description |
---|---|
string |
MainLightShadows
Keyword used for shadows without cascades.
Declaration
public const string MainLightShadows
Field Value
Type | Description |
---|---|
string |
MixedLightingSubtractive
Keyword used for Mixed Lights in Subtractive lighting mode.
Declaration
public const string MixedLightingSubtractive
Field Value
Type | Description |
---|---|
string |
PaniniGeneric
Keyword used for generic Panini Projection.
Declaration
public const string PaniniGeneric
Field Value
Type | Description |
---|---|
string |
PaniniUnitDistance
Keyword used for unit distance Panini Projection.
Declaration
public const string PaniniUnitDistance
Field Value
Type | Description |
---|---|
string |
PointSampling
Keyword used for Point sampling when doing upsampling.
Declaration
public const string PointSampling
Field Value
Type | Description |
---|---|
string |
Rcas
Keyword used for Robust Contrast-Adaptive Sharpening (RCAS) when doing upsampling.
Declaration
public const string Rcas
Field Value
Type | Description |
---|---|
string |
ReflectionProbeBlending
Keyword used for Reflection probe blending.
Declaration
public const string ReflectionProbeBlending
Field Value
Type | Description |
---|---|
string |
ReflectionProbeBoxProjection
Keyword used for Box Projection with Reflection Probes.
Declaration
public const string ReflectionProbeBoxProjection
Field Value
Type | Description |
---|---|
string |
RenderPassEnabled
Keyword used for RenderPass.
Declaration
public const string RenderPassEnabled
Field Value
Type | Description |
---|---|
string |
SCREEN_COORD_OVERRIDE
Keyword used for applying scale and bias.
Declaration
public const string SCREEN_COORD_OVERRIDE
Field Value
Type | Description |
---|---|
string |
ScreenSpaceOcclusion
Keyword used for Screen Space Occlusion, such as Screen Space Ambient Occlusion (SSAO).
Declaration
public const string ScreenSpaceOcclusion
Field Value
Type | Description |
---|---|
string |
ShadowsShadowMask
Keyword used for Shadowmask.
Declaration
public const string ShadowsShadowMask
Field Value
Type | Description |
---|---|
string |
SmaaHigh
Keyword used for high quality Subpixel Morphological Anti-aliasing (SMAA).
Declaration
public const string SmaaHigh
Field Value
Type | Description |
---|---|
string |
SmaaLow
Keyword used for low quality Subpixel Morphological Anti-aliasing (SMAA).
Declaration
public const string SmaaLow
Field Value
Type | Description |
---|---|
string |
SmaaMedium
Keyword used for medium quality Subpixel Morphological Anti-aliasing (SMAA).
Declaration
public const string SmaaMedium
Field Value
Type | Description |
---|---|
string |
SoftShadows
Keyword used for soft shadows.
Declaration
public const string SoftShadows
Field Value
Type | Description |
---|---|
string |
SoftShadowsHigh
Keyword used for high quality soft shadows.
Declaration
public const string SoftShadowsHigh
Field Value
Type | Description |
---|---|
string |
SoftShadowsLow
Keyword used for low quality soft shadows.
Declaration
public const string SoftShadowsLow
Field Value
Type | Description |
---|---|
string |
SoftShadowsMedium
Keyword used for medium quality soft shadows.
Declaration
public const string SoftShadowsMedium
Field Value
Type | Description |
---|---|
string |
TonemapACES
Keyword used for ACES Tonemapping.
Declaration
public const string TonemapACES
Field Value
Type | Description |
---|---|
string |
TonemapNeutral
Keyword used for Neutral Tonemapping.
Declaration
public const string TonemapNeutral
Field Value
Type | Description |
---|---|
string |
USE_UNITY_CROSSFADE
Keyword used for LOD Crossfade with ShaderGraph shaders.
Declaration
public const string USE_UNITY_CROSSFADE
Field Value
Type | Description |
---|---|
string |
UseDrawProcedural
Keyword used for Drawing procedurally.
Declaration
public const string UseDrawProcedural
Field Value
Type | Description |
---|---|
string |
UseRGBM
Keyword used for RGBM format for Bloom.
Declaration
public const string UseRGBM
Field Value
Type | Description |
---|---|
string |
WriteRenderingLayers
Keyword used for writing Rendering Layers.
Declaration
public const string WriteRenderingLayers
Field Value
Type | Description |
---|---|
string |
XROcclusionMeshCombined
Keyword used for rendering a combined mesh for XR.
Declaration
public const string XROcclusionMeshCombined
Field Value
Type | Description |
---|---|
string |
_ALPHAMODULATE_ON
Keyword used for Alpha modulate.
Declaration
public const string _ALPHAMODULATE_ON
Field Value
Type | Description |
---|---|
string |
_ALPHAPREMULTIPLY_ON
Keyword used for Alpha premultiply.
Declaration
public const string _ALPHAPREMULTIPLY_ON
Field Value
Type | Description |
---|---|
string |
_ALPHATEST_ON
Keyword used for Alpha testing.
Declaration
public const string _ALPHATEST_ON
Field Value
Type | Description |
---|---|
string |
_CLEARCOAT
Keyword used for Clear Coat.
Declaration
public const string _CLEARCOAT
Field Value
Type | Description |
---|---|
string |
_CLEARCOATMAP
Keyword used for Clear Coat maps.
Declaration
public const string _CLEARCOATMAP
Field Value
Type | Description |
---|---|
string |
_DEFERRED_FIRST_LIGHT
Keyword used for the first light when rendering with the Deferred rendering path.
Declaration
public const string _DEFERRED_FIRST_LIGHT
Field Value
Type | Description |
---|---|
string |
_DEFERRED_MAIN_LIGHT
Keyword used for the main light when rendering with the Deferred rendering path.
Declaration
public const string _DEFERRED_MAIN_LIGHT
Field Value
Type | Description |
---|---|
string |
_DEFERRED_MIXED_LIGHTING
Keyword used for Mixed Lighting when rendering with the Deferred rendering path.
Declaration
public const string _DEFERRED_MIXED_LIGHTING
Field Value
Type | Description |
---|---|
string |
_DEFERRED_STENCIL
Keyword used for stencils when rendering with the Deferred rendering path.
Declaration
public const string _DEFERRED_STENCIL
Field Value
Type | Description |
---|---|
string |
_DETAIL_MULX2
Keyword used for 2x detail mapping.
Declaration
public const string _DETAIL_MULX2
Field Value
Type | Description |
---|---|
string |
_DETAIL_SCALED
Keyword used for scaled detail mapping.
Declaration
public const string _DETAIL_SCALED
Field Value
Type | Description |
---|---|
string |
_DIRECTIONAL
Keyword used for Directional lights.
Declaration
public const string _DIRECTIONAL
Field Value
Type | Description |
---|---|
string |
_EMISSION
Keyword used for Emission.
Declaration
public const string _EMISSION
Field Value
Type | Description |
---|---|
string |
_GBUFFER_NORMALS_OCT
Keyword used for Accurate G-buffer normals when rendering with the Deferred rendering path.
Declaration
public const string _GBUFFER_NORMALS_OCT
Field Value
Type | Description |
---|---|
string |
_NORMALMAP
Keyword used for Normal maps.
Declaration
public const string _NORMALMAP
Field Value
Type | Description |
---|---|
string |
_POINT
Keyword used for Point lights.
Declaration
public const string _POINT
Field Value
Type | Description |
---|---|
string |
_RECEIVE_SHADOWS_OFF
Keyword used for receiving shadows.
Declaration
public const string _RECEIVE_SHADOWS_OFF
Field Value
Type | Description |
---|---|
string |
_SPOT
Keyword used for Spot lights.
Declaration
public const string _SPOT
Field Value
Type | Description |
---|---|
string |
_SURFACE_TYPE_TRANSPARENT
Keyword used for opaque or transparent surface types.
Declaration
public const string _SURFACE_TYPE_TRANSPARENT
Field Value
Type | Description |
---|---|
string |