TextStudio3DWritableBuffer<T>
public sealed class TextStudio3DWritableBuffer<T>Retained writable scratch storage owned by one module context. Request the same element type and slot on later builds to reuse capacity without managed allocation.
Methods
Section titled “Methods”
SetCount(int)
Section titled “SetCount(int)”public void SetCount(int count)Sets the logical element count and grows retained storage when needed without shrinking existing capacity.
Parameters
| Name | Type |
|---|---|
count |
System.Int32 |
Clear()
Section titled “Clear()”public void Clear()Clears references in the active range and resets the logical count while retaining capacity for reuse.
Constructors
Section titled “Constructors”
TextStudio3DWritableBuffer()
Section titled “TextStudio3DWritableBuffer()”public TextStudio3DWritableBuffer()Properties
Section titled “Properties”
public int Count { get; }Returns
System.Int32
Capacity
Section titled “Capacity”public int Capacity { get; }Returns
System.Int32
this[int]
Section titled “this[int]”public T this[int index] { get; set; }Parameters
| Name | Type |
|---|---|
index |
System.Int32 |
Returns
{T}