Class BoneMaskPool
Namespace: ValveResourceFormat.Animation
Assembly: ValveResourceFormat.dll
Reusable per-bone weight buffers for bone mask task list evaluation. Buffers persist for the lifetime of the graph and are recycled via BoneMaskPool.ReleaseAll() after each evaluation.
csharp
public class BoneMaskPoolInheritance
object ← BoneMaskPool
Constructors
BoneMaskPool(int)
csharp
public BoneMaskPool(int boneCount)Parameters
boneCount int
Methods
Acquire(int)
csharp
public int Acquire(int size)Parameters
size int
Returns
int
GetBuffer(int)
csharp
public float[] GetBuffer(int index)Parameters
index int
Returns
float[]
ReleaseAll()
csharp
public void ReleaseAll()
