ForwardPlusCascadesElement
csharp
public struct ForwardPlusCascadesElementOne element of ForwardPlus.cascades.
No guide page documents this yet — the page shows what the code says about itself.
Fields and properties (6)
public Matrix4x4 ViewProjectioncascades[].viewProjection — 64 bytes at 0 into the element.
public float Splitcascades[].split — 4 bytes at 64 into the element.
public float DepthScalecascades[].depthScale — 4 bytes at 68 into the element.
public const int CountHow many elements the shader declared room for.
public const int StrideBytes from one element to the next.
public const int BaseOffsetByte offset of element zero within the block.
Methods (1)
public readonly void Write(Span<byte> buffer, int index)Writes this element into slot .