Vixen
02b45cc4

MotionVectorsKeys

class
csharp
public static class MotionVectorsKeys

Typed keys for shader MotionVectors.

No guide page documents this yet — the page shows what the code says about itself.

Fields and properties (30)

  • public const string ShaderName

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

  • public static readonly PermutationKey<bool> Skinned

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

  • public static readonly PermutationKey<bool> AlphaTested

    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> OpacityMap

    set 2, binding 1.

  • public const int OpacityMapSet

    Which descriptor set holds opacityMap.

  • public const uint OpacityMapBinding

    Which binding within set 2 opacityMap occupies.

  • public static readonly ParameterKey<SamplerHandle> OpacitySampler

    set 2, binding 2.

  • public const int OpacitySamplerSet

    Which descriptor set holds opacitySampler.

  • public const uint OpacitySamplerBinding

    Which binding within set 2 opacitySampler occupies.

  • public static readonly ParameterKey<BufferHandle> Bones

    set 2, binding 3.

  • public const int BonesSet

    Which descriptor set holds bones.

  • public const uint BonesBinding

    Which binding within set 2 bones 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 TexcoordLocation

    Which location the vertex stage reads texcoord from.

  • public static readonly ParameterKey<Matrix4x4> ViewProjection

    viewProjection at byte 0.

  • public static readonly ParameterKey<Vector3> ViewPosition

    viewPosition at byte 64.

  • public static readonly ParameterKey<Matrix4x4> View

    view at byte 80.

  • public static readonly ParameterKey<Matrix4x4> PreviousViewProjection

    previousViewProjection at byte 144.

  • public static readonly ParameterKey<float> AlphaCutoff

    alphaCutoff at byte 0, 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 1 the uniform block occupies.

  • public const int PerViewBlockSize

    Set 1's block size in bytes.

  • public const int PerViewBlockSet

    Which descriptor set holds set 1's block.

  • public const uint PerViewBlockBinding

    Which binding within set 1 set 1's block occupies.

  • public const int PerMaterialBlockSize

    Set 2's block size in bytes.

  • public const int PerMaterialBlockSet

    Which descriptor set holds set 2's block.

  • public const uint PerMaterialBlockBinding

    Which binding within set 2 set 2's block occupies.