Table of Contents

Class VisibilityGroup

Namespace
Stride.Rendering
Assembly
Stride.Rendering.dll

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

RenderDataHolder

RenderStageMaskKey

public readonly StaticObjectPropertyKey<uint> RenderStageMaskKey

Field Value

StaticObjectPropertyKey<uint>

RenderStageMaskSizePerEntry

public const int RenderStageMaskSizePerEntry = 32

Field Value

int

Tags

Gets the attached properties to this visibility group.

public PropertyContainer Tags

Field Value

PropertyContainer

Properties

RenderObjects

List of objects registered in this group.

public RenderObjectCollection RenderObjects { get; }

Property Value

RenderObjectCollection

RenderSystem

public RenderSystem RenderSystem { get; }

Property Value

RenderSystem

Methods

ComputeDataArrayExpectedSize(DataType)

protected int ComputeDataArrayExpectedSize(DataType type)

Parameters

type DataType

Returns

int

Copy(RenderView, RenderView)

public void Copy(RenderView source, RenderView target)

Parameters

source RenderView
target 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 BoundingFrustum
boundingBoxExt BoundingBoxExt
ignoreDepthPlanes bool

Returns

bool

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