Vixen
dd8b0a81

ParticleMeshKeys

class
csharp
public static class ParticleMeshKeys

Typed keys for shader ParticleMesh.

Read the guide page for this →

Fields and properties (19)

  • public const string ShaderName

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

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

    Which location the vertex stage reads instanceRow0 from.

  • public const uint InstanceRow1Location

    Which location the vertex stage reads instanceRow1 from.

  • public const uint InstanceRow2Location

    Which location the vertex stage reads instanceRow2 from.

  • public const uint InstanceColorLocation

    Which location the vertex stage reads instanceColor from.

  • public static readonly ParameterKey<Matrix4x4> ViewProjection

    viewProjection at byte 0.

  • public static readonly ParameterKey<Vector4> Tint

    tint at byte 0, declared 1, 1, 1, 1.

  • public static readonly ParameterKey<float> Emissive

    emissive at byte 16, declared 1.

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

Used by (1)

  • ParticleMeshMaterialVixen.Rendering