Vixen
02b45cc4

PlaceholderKeys

class
csharp
public static class PlaceholderKeys

Typed keys for shader Placeholder.

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

Fields and properties (9)

  • public const string ShaderName

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

  • public static readonly PermutationKey<int> Cells

    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 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 static readonly ParameterKey<Matrix4x4> WorldViewProjection

    worldViewProjection at byte 0.

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