Class VisibilityGroup
Represents a group of visible RenderObject.
public class VisibilityGroup : IDisposable
- Inheritance
-
VisibilityGroup
- Implements
- Extension Methods
Constructors
VisibilityGroup(RenderSystem)
public VisibilityGroup(RenderSystem renderSystem)
Parameters
renderSystem
RenderSystem
Fields
RenderData
Stores render data.
public RenderDataHolder RenderData
Field Value
RenderStageMaskKey
public readonly StaticObjectPropertyKey<uint> RenderStageMaskKey
Field Value
RenderStageMaskSizePerEntry
public const int RenderStageMaskSizePerEntry = 32
Field Value
Tags
Gets the attached properties to this visibility group.
public PropertyContainer Tags
Field Value
Properties
RenderObjects
List of objects registered in this group.
public RenderObjectCollection RenderObjects { get; }
Property Value
RenderSystem
public RenderSystem RenderSystem { get; }
Property Value
Methods
ComputeDataArrayExpectedSize(DataType)
protected int ComputeDataArrayExpectedSize(DataType type)
Parameters
type
DataType
Returns
Copy(RenderView, RenderView)
public void Copy(RenderView source, RenderView target)
Parameters
source
RenderViewtarget
RenderView
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
FrustumContainsBox(ref BoundingFrustum, ref BoundingBoxExt, bool)
public static bool FrustumContainsBox(ref BoundingFrustum frustum, ref BoundingBoxExt boundingBoxExt, bool ignoreDepthPlanes)
Parameters
frustum
BoundingFrustumboundingBoxExt
BoundingBoxExtignoreDepthPlanes
bool
Returns
Reset()
public void Reset()
TryCollect(RenderView)
Collects render objects visibile in a view (if not previously collected before).
public void TryCollect(RenderView view)
Parameters
view
RenderView