Class ScenePartitioner
Namespace: VelloSharp.Composition
Assembly: VelloSharp.Composition.dll
public sealed class ScenePartitioner
Inheritance
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
RootLayer
public RenderLayer RootLayer { get; }
Property Value
RootNodeId
public uint RootNodeId { get; }
Property Value
Methods
EnumerateLayers()
public IEnumerable<RenderLayer> EnumerateLayers()
Returns
GetOrCreateLayer(string, uint?)
public RenderLayer GetOrCreateLayer(string name, uint? parentLayerId = null)
Parameters
name
string
parentLayerId
uint?
Returns
RemoveLayer(string, bool)
public bool RemoveLayer(string name, bool disposeNode = true)
Parameters
name
string
disposeNode
bool
Returns
TryGetLayer(string, out RenderLayer)
public bool TryGetLayer(string name, out RenderLayer layer)
Parameters
name
string
layer
RenderLayer