Vixen
02b45cc4

VisibilityResolveCascadesElement

struct
csharp
public struct VisibilityResolveCascadesElement

One element of VisibilityResolve.cascades.

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

Fields and properties (6)

  • public Matrix4x4 ViewProjection

    cascades[].viewProjection — 64 bytes at 0 into the element.

  • public float Split

    cascades[].split — 4 bytes at 64 into the element.

  • public float DepthScale

    cascades[].depthScale — 4 bytes at 68 into the element.

  • public const int Count

    How many elements the shader declared room for.

  • public const int Stride

    Bytes from one element to the next.

  • public const int BaseOffset

    Byte offset of element zero within the block.

Methods (1)

  • public readonly void Write(Span<byte> buffer, int index)

    Writes this element into slot .