Vixen
02b45cc4

ImpostorCaptureKeys

class
csharp
public static class ImpostorCaptureKeys

Typed keys for shader ImpostorCapture.

Read the guide page for this →

Fields and properties (10)

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

    Which location the vertex stage reads normal from.

  • public static readonly ParameterKey<Matrix4x4> ViewViewProjection

    view.viewProjection at byte 0.

  • public static readonly ParameterKey<Matrix4x4> ViewModel

    view.model at byte 64.

  • public static readonly ParameterKey<Vector4> BaseColour

    baseColour at byte 128.

  • 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 (2)

  • ImpostorCapturePassVixen.Rendering
  • ImpostorCapturePassTestsVixen.Rendering.Tests