GlbData.IsolateMemory

GlbData.IsolateMemory method

Refreshes all internal memory buffers.

public void IsolateMemory()

Remarks

Buffer instances can be created using external Byte arrays, which can potentially be shared with other instances. Editing these arrays directly can lead to data corruption. This method refreshes all internal memory buffers, by copying the data into newly allocated buffers. This ensures that at this point, all memory buffers are not shared and of exclusive use of this GlbImage instance.

See Also