Vixen
c7401864

FoliageLitKeys

class
csharp
public static class FoliageLitKeys

Typed keys for shader FoliageLit.

Read the guide page for this →

Fields and properties (52)

  • public const string ShaderName

    The shader's name, as the effect system asks for it.

  • public static readonly PermutationKey<bool> SplitOutputs

    Affects the generated code, so a distinct value is a distinct variant.

  • public static readonly PermutationKey<bool> CrossFade

    Affects the generated code, so a distinct value is a distinct variant.

  • public static readonly ParameterKey[] UsedPermutationKeys

    The permutation keys that actually change the generated code.

  • public static readonly ParameterKey<TextureViewHandle> ShadowMap

    set 2, binding 1.

  • public const int ShadowMapSet

    Which descriptor set holds shadowMap.

  • public const uint ShadowMapBinding

    Which binding within set 2 shadowMap occupies.

  • public static readonly ParameterKey<TextureViewHandle> AlbedoMap

    set 2, binding 2.

  • public const int AlbedoMapSet

    Which descriptor set holds albedoMap.

  • public const uint AlbedoMapBinding

    Which binding within set 2 albedoMap occupies.

  • public static readonly ParameterKey<SamplerHandle> ShadowSampler

    set 2, binding 3.

  • public const int ShadowSamplerSet

    Which descriptor set holds shadowSampler.

  • public const uint ShadowSamplerBinding

    Which binding within set 2 shadowSampler occupies.

  • public static readonly ParameterKey<SamplerHandle> AlbedoSampler

    set 2, binding 4.

  • public const int AlbedoSamplerSet

    Which descriptor set holds albedoSampler.

  • public const uint AlbedoSamplerBinding

    Which binding within set 2 albedoSampler occupies.

  • public static readonly ParameterKey<BufferHandle> Instances

    set 2, binding 5.

  • public const int InstancesSet

    Which descriptor set holds instances.

  • public const uint InstancesBinding

    Which binding within set 2 instances occupies.

  • public static readonly ParameterKey<BufferHandle> Survivors

    set 2, binding 6.

  • public const int SurvivorsSet

    Which descriptor set holds survivors.

  • public const uint SurvivorsBinding

    Which binding within set 2 survivors occupies.

  • public static readonly ParameterKey<BufferHandle> Parameters

    set 2, binding 7.

  • public const int ParametersSet

    Which descriptor set holds parameters.

  • public const uint ParametersBinding

    Which binding within set 2 parameters occupies.

  • public const int VertexAttributeCount

    How many attributes the vertex stage takes from a buffer.

  • public const uint PositionLocation

    Which location the vertex stage reads position from.

  • public const uint NormalLocation

    Which location the vertex stage reads normal from.

  • public const uint TexcoordLocation

    Which location the vertex stage reads texcoord from.

  • public static readonly ParameterKey<Vector3> LightDirection

    lightDirection at byte 0.

  • public static readonly ParameterKey<float> ShadowConstantBias

    shadowConstantBias at byte 12.

  • public static readonly ParameterKey<Vector3> LightColor

    lightColor at byte 16.

  • public static readonly ParameterKey<float> ShadowSlopeBias

    shadowSlopeBias at byte 28.

  • public static readonly ParameterKey<float> ShadowFadeRange

    shadowFadeRange at byte 32.

  • public static readonly ParameterKey<float> AmbientIntensity

    ambientIntensity at byte 36.

  • public static readonly ParameterKey<Matrix4x4> View

    view at byte 48.

  • public static readonly ParameterKey<Vector3> EnvironmentShL00

    environmentSh.l00 at byte 432.

  • public static readonly ParameterKey<Vector3> EnvironmentShL1m1

    environmentSh.l1m1 at byte 448.

  • public static readonly ParameterKey<Vector3> EnvironmentShL10

    environmentSh.l10 at byte 464.

  • public static readonly ParameterKey<Vector3> EnvironmentShL11

    environmentSh.l11 at byte 480.

  • public static readonly ParameterKey<Vector3> EnvironmentShL2m2

    environmentSh.l2m2 at byte 496.

  • public static readonly ParameterKey<Vector3> EnvironmentShL2m1

    environmentSh.l2m1 at byte 512.

  • public static readonly ParameterKey<Vector3> EnvironmentShL20

    environmentSh.l20 at byte 528.

  • public static readonly ParameterKey<Vector3> EnvironmentShL21

    environmentSh.l21 at byte 544.

  • public static readonly ParameterKey<Vector3> EnvironmentShL22

    environmentSh.l22 at byte 560.

  • public static readonly ParameterKey<Vector2> ShadowTexelSize

    shadowTexelSize at byte 576.

  • public static readonly ParameterKey<Matrix4x4> ViewProjection

    viewProjection at byte 592.

  • public static readonly ParameterKey<Vector2> TintRange

    tintRange at byte 656.

  • public static readonly ParameterKey<float> AlphaCutoff

    alphaCutoff at byte 664, declared 0.5.

  • public const int ConstantBufferSize

    The uniform block's size in bytes — what to allocate.

  • public const int ConstantBufferSet

    Which descriptor set holds the uniform block.

  • public const uint ConstantBufferBinding

    Which binding within set 2 the uniform block occupies.

Used by (1)

  • FoliageDrawPassVixen.Rendering.Terrain