csharp
public struct ObjectRecordThe per-object scalars a shading pass reads when they are records of a buffer.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
Sixteen bytes at the object's own slot, matching ObjectRecord in Raven/Library/Geometry/Transform.rvn member for member. Explicit layout is not needed — four four-byte fields in declaration order is what std430 gives — but the padding field is, because a shader's struct is padded to sixteen whether or not a host writes it.
Fields and properties (4)
public int ProbeIndexWhich of the bound probe cubes reaches this object.
public float ProbeWeightHow much of it shows through, against the environment behind it.
public int LightCountHow many entries of the object's light list are filled.
public int ReservedPadding to the shader's sixteen.
Used by (2)
- ForwardLightingRenderFeatureVixen.Rendering
- ObjectRecordTestsVixen.Rendering.Tests