Struct BarnLightFaceSlot ​
Namespace: ValveResourceFormat.Renderer.World
Assembly: Renderer.dll
Which light face a binned barn light slot holds, so a cull bit read back later traces to the light it was about. Rebuilt every frame, so it only holds against the frame that produced it.
csharp
public readonly record struct BarnLightFaceSlot : IEquatable<BarnLightFaceSlot>Implements ​
Constructors ​
BarnLightFaceSlot(SceneLight, int) ​
Which light face a binned barn light slot holds, so a cull bit read back later traces to the light it was about. Rebuilt every frame, so it only holds against the frame that produced it.
csharp
public BarnLightFaceSlot(SceneLight Light, int FaceIndex)Parameters ​
Light SceneLight
Light owning the slot.
FaceIndex int
Index into that light's .
Properties ​
FaceIndex ​
Index into that light's .
csharp
public int FaceIndex { get; init; }Property Value ​
Light ​
Light owning the slot.
csharp
public SceneLight Light { get; init; }
