Skip to main content

Class ScenePartitioner

Namespace: VelloSharp.Composition
Assembly: VelloSharp.Composition.dll

public sealed class ScenePartitioner

Inheritance​

object ← ScenePartitioner

Inherited Members​

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors​

ScenePartitioner(SceneCache, uint, IEqualityComparer<string>?)​

public ScenePartitioner(SceneCache cache, uint rootNodeId, IEqualityComparer<string>? comparer = null)

Parameters​

cache SceneCache

rootNodeId uint

comparer IEqualityComparer<string>?

Properties​

Cache​

public SceneCache Cache { get; }

Property Value​

SceneCache

RootLayer​

public RenderLayer RootLayer { get; }

Property Value​

RenderLayer

RootNodeId​

public uint RootNodeId { get; }

Property Value​

uint

Methods​

EnumerateLayers()​

public IEnumerable<RenderLayer> EnumerateLayers()

Returns​

IEnumerable<RenderLayer>

GetOrCreateLayer(string, uint?)​

public RenderLayer GetOrCreateLayer(string name, uint? parentLayerId = null)

Parameters​

name string

parentLayerId uint?

Returns​

RenderLayer

RemoveLayer(string, bool)​

public bool RemoveLayer(string name, bool disposeNode = true)

Parameters​

name string

disposeNode bool

Returns​

bool

TryGetLayer(string, out RenderLayer)​

public bool TryGetLayer(string name, out RenderLayer layer)

Parameters​

name string

layer RenderLayer

Returns​

bool