Class VisibilityBoxCuller
Namespace: ValveResourceFormat.Renderer
Assembly: Renderer.dll
The boxes one view culls with, split once for the view's eye: an object is culled when it lies entirely inside any inside box, or when there are outside boxes and it touches none of them.
csharp
public sealed class VisibilityBoxCullerInheritance
Properties
InsideCount
Gets how many boxes cull what they contain.
csharp
public int InsideCount { get; }Property Value
IsActive
Gets whether any box takes part in this view.
csharp
public bool IsActive { get; }Property Value
OutsideCount
Gets how many boxes cull what lies outside them.
csharp
public int OutsideCount { get; }Property Value
Methods
Build(IReadOnlyList<VisibilityBox>, Vector3?)
Splits the enabled boxes for a view.
csharp
public void Build(IReadOnlyList<VisibilityBox> boxes, Vector3? eye)Parameters
boxes IReadOnlyList<VisibilityBox>
The boxes of the view's scene.
eye Vector3?
The view's eye, or null for a view that culls with no box.
IsCulled(in AABB)
Whether this view's boxes hide an object with the given world bounds.
csharp
public bool IsCulled(in AABB bounds)Parameters
bounds AABB

