Vixen
c7401864

FoliageVelocityKeys

class
csharp
public static class FoliageVelocityKeys

Typed keys for shader FoliageVelocity.

Read the guide page for this →

Fields and properties (29)

  • public const string ShaderName

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

  • 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> AlbedoMap

    set 2, binding 1.

  • 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> AlbedoSampler

    set 2, binding 2.

  • 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 3.

  • 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 4.

  • 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 5.

  • 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<Matrix4x4> PreviousViewProjection

    previousViewProjection at byte 0.

  • public static readonly ParameterKey<Matrix4x4> ViewProjection

    viewProjection at byte 64.

  • public static readonly ParameterKey<Vector2> TintRange

    tintRange at byte 128.

  • public static readonly ParameterKey<float> AlphaCutoff

    alphaCutoff at byte 136, 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)

  • FoliageVelocityPassVixen.Rendering.Terrain