TerrainLitKeys
public static class TerrainLitKeysTyped keys for shader TerrainLit.
Fields and properties (87)
public const string ShaderNameThe shader's name, as the effect system asks for it.
public static readonly PermutationKey<bool> SplitOutputsAffects the generated code, so a distinct value is a distinct variant.
public static readonly PermutationKey<bool> UseClusteredLightsAffects the generated code, so a distinct value is a distinct variant.
public static readonly PermutationKey<int> GridQuadsAffects the generated code, so a distinct value is a distinct variant.
public static readonly PermutationKey<bool> HeightBlendAffects the generated code, so a distinct value is a distinct variant.
public static readonly PermutationKey<int> LayerSlotsAffects the generated code, so a distinct value is a distinct variant.
public static readonly ParameterKey[] UsedPermutationKeysThe permutation keys that actually change the generated code.
public static readonly ParameterKey<TextureViewHandle> ShadowMapset 2, binding 1.
public const int ShadowMapSetWhich descriptor set holds shadowMap.
public const uint ShadowMapBindingWhich binding within set 2 shadowMap occupies.
public static readonly ParameterKey<TextureViewHandle> HeightMapset 2, binding 2.
public const int HeightMapSetWhich descriptor set holds heightMap.
public const uint HeightMapBindingWhich binding within set 2 heightMap occupies.
public static readonly ParameterKey<TextureViewHandle> WeightMapsset 2, binding 3.
public const int WeightMapsSetWhich descriptor set holds weightMaps.
public const uint WeightMapsBindingWhich binding within set 2 weightMaps occupies.
public static readonly ParameterKey<TextureViewHandle> LayerMapsset 2, binding 4.
public const int LayerMapsSetWhich descriptor set holds layerMaps.
public const uint LayerMapsBindingWhich binding within set 2 layerMaps occupies.
public static readonly ParameterKey<TextureViewHandle> HoleMapset 2, binding 5.
public const int HoleMapSetWhich descriptor set holds holeMap.
public const uint HoleMapBindingWhich binding within set 2 holeMap occupies.
public static readonly ParameterKey<TextureViewHandle> SurfaceMapsset 2, binding 6.
public const int SurfaceMapsSetWhich descriptor set holds surfaceMaps.
public const uint SurfaceMapsBindingWhich binding within set 2 surfaceMaps occupies.
public static readonly ParameterKey<SamplerHandle> ShadowSamplerset 2, binding 7.
public const int ShadowSamplerSetWhich descriptor set holds shadowSampler.
public const uint ShadowSamplerBindingWhich binding within set 2 shadowSampler occupies.
public static readonly ParameterKey<SamplerHandle> HeightSamplerset 2, binding 8.
public const int HeightSamplerSetWhich descriptor set holds heightSampler.
public const uint HeightSamplerBindingWhich binding within set 2 heightSampler occupies.
public static readonly ParameterKey<SamplerHandle> WeightSamplerset 2, binding 9.
public const int WeightSamplerSetWhich descriptor set holds weightSampler.
public const uint WeightSamplerBindingWhich binding within set 2 weightSampler occupies.
public static readonly ParameterKey<SamplerHandle> LayerSamplerset 2, binding 10.
public const int LayerSamplerSetWhich descriptor set holds layerSampler.
public const uint LayerSamplerBindingWhich binding within set 2 layerSampler occupies.
public static readonly ParameterKey<SamplerHandle> HoleSamplerset 2, binding 11.
public const int HoleSamplerSetWhich descriptor set holds holeSampler.
public const uint HoleSamplerBindingWhich binding within set 2 holeSampler occupies.
public static readonly ParameterKey<BufferHandle> LightBufferset 2, binding 12.
public const int LightBufferSetWhich descriptor set holds lightBuffer.
public const uint LightBufferBindingWhich binding within set 2 lightBuffer occupies.
public static readonly ParameterKey<BufferHandle> Clustersset 2, binding 13.
public const int ClustersSetWhich descriptor set holds clusters.
public const uint ClustersBindingWhich binding within set 2 clusters occupies.
public static readonly ParameterKey<BufferHandle> Nodesset 2, binding 14.
public const int NodesSetWhich descriptor set holds nodes.
public const uint NodesBindingWhich binding within set 2 nodes occupies.
public static readonly ParameterKey<BufferHandle> LayerScalesset 2, binding 15.
public const int LayerScalesSetWhich descriptor set holds layerScales.
public const uint LayerScalesBindingWhich binding within set 2 layerScales occupies.
public static readonly ParameterKey<BufferHandle> LayerBlendsset 2, binding 16.
public const int LayerBlendsSetWhich descriptor set holds layerBlends.
public const uint LayerBlendsBindingWhich binding within set 2 layerBlends occupies.
public static readonly ParameterKey<Vector3> OriginWSoriginWS at byte 0.
public static readonly ParameterKey<float> ShadowConstantBiasshadowConstantBias at byte 12.
public static readonly ParameterKey<Vector3> LightDirectionlightDirection at byte 16.
public static readonly ParameterKey<float> ShadowSlopeBiasshadowSlopeBias at byte 28.
public static readonly ParameterKey<Vector3> LightColorlightColor at byte 32.
public static readonly ParameterKey<float> ShadowFadeRangeshadowFadeRange at byte 44.
public static readonly ParameterKey<Vector3> ViewPositionviewPosition at byte 48.
public static readonly ParameterKey<float> AmbientIntensityambientIntensity at byte 60.
public static readonly ParameterKey<Matrix4x4> Viewview at byte 64.
public static readonly ParameterKey<Vector3> EnvironmentShL00environmentSh.l00 at byte 448.
public static readonly ParameterKey<Vector3> EnvironmentShL1m1environmentSh.l1m1 at byte 464.
public static readonly ParameterKey<Vector3> EnvironmentShL10environmentSh.l10 at byte 480.
public static readonly ParameterKey<Vector3> EnvironmentShL11environmentSh.l11 at byte 496.
public static readonly ParameterKey<Vector3> EnvironmentShL2m2environmentSh.l2m2 at byte 512.
public static readonly ParameterKey<Vector3> EnvironmentShL2m1environmentSh.l2m1 at byte 528.
public static readonly ParameterKey<Vector3> EnvironmentShL20environmentSh.l20 at byte 544.
public static readonly ParameterKey<Vector3> EnvironmentShL21environmentSh.l21 at byte 560.
public static readonly ParameterKey<Vector3> EnvironmentShL22environmentSh.l22 at byte 576.
public static readonly ParameterKey<Vector2> ShadowTexelSizeshadowTexelSize at byte 592.
public static readonly ParameterKey<Vector2> TanHalfFovtanHalfFov at byte 600.
public static readonly ParameterKey<float> NearPlanenearPlane at byte 608.
public static readonly ParameterKey<float> FarPlanefarPlane at byte 612.
public static readonly ParameterKey<Matrix4x4> ViewProjectionviewProjection at byte 624.
public static readonly ParameterKey<Vector2> HeightMapSizeheightMapSize at byte 688.
public static readonly ParameterKey<float> TileSamplestileSamples at byte 696.
public static readonly ParameterKey<float> TileQuadstileQuads at byte 700.
public static readonly ParameterKey<Vector2> AtlasTilesatlasTiles at byte 704.
public static readonly ParameterKey<Vector2> HeightRangeheightRange at byte 712.
public static readonly ParameterKey<float> MetresPerQuadmetresPerQuad at byte 720.
public const int ConstantBufferSizeThe uniform block's size in bytes — what to allocate.
public const int ConstantBufferSetWhich descriptor set holds the uniform block.
public const uint ConstantBufferBindingWhich binding within set 2 the uniform block occupies.
Used by (1)
- TerrainRendererVixen.Rendering.Terrain