Class DirtyIndexList
List of indices that needs to be updated on the GPU
Inheritance
System.Object
DirtyIndexList
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Fusee.Engine.Core.Scene
Assembly: Fusee.Engine.Core.dll
Syntax
public sealed class DirtyIndexList
Properties
Empty
Is list empty
Declaration
public bool Empty { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IndexList
The dirty index list
Declaration
public List<(int, int)> IndexList { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<System.ValueTuple<System.Int32, System.Int32>> |
Methods
Add(Int32)
Adds one element to dirty index list as tuple e. g. idx: 1 => Add(1,1)
Declaration
public void Add(int idx)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | idx |
Add((Int32, Int32))
Add index range to dirty index list
Declaration
public void Add((int, int) idx)
Parameters
Type | Name | Description |
---|---|---|
System.ValueTuple<System.Int32, System.Int32> | idx |
Init()
Ctor as init method
Declaration
public void Init()
ResetList()
Reset the dirty index list
Declaration
public void ResetList()