Vixen
02b45cc4

ForwardPlusProbeVolumesElement

struct
csharp
public struct ForwardPlusProbeVolumesElement

One element of ForwardPlus.probeVolumes.

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

Fields and properties (8)

  • public Vector3 BoxMinimum

    probeVolumes[].box.minimum — 12 bytes at 0 into the element.

  • public Vector3 BoxMaximum

    probeVolumes[].box.maximum — 12 bytes at 16 into the element.

  • public Vector3 BoxCenter

    probeVolumes[].box.center — 12 bytes at 32 into the element.

  • public float Radius

    probeVolumes[].radius — 4 bytes at 48 into the element.

  • public float MipCount

    probeVolumes[].mipCount — 4 bytes at 52 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 .