VertexBufferShadow
Represents a shadow of a VertexBuffer that allows manipulation and synchronization of vertex data with a buffer residing in GPU memory. This interface provides methods to upload, download, and manage vertex data in a buffer.
Properties
Functions
Downloads vertex data from the GPU memory into the shadow buffer. This method synchronizes the shadow buffer with the current state of the associated GPU-resident VertexBuffer. Typically used to retrieve the vertex data for inspection or modification.
Uploads a specified range of vertices from the shadow buffer to the GPU memory.
Creates and returns a BufferWriter to facilitate writing operations to the shadow buffer. The returned BufferWriter allows structured data, such as vectors or matrices, to be written into the buffer for subsequent GPU upload or processing.