TINMAN 3D / REALTIME TERRAIN
Software Development Kit - User Manual

enum GpuUpdateFlag in Tinman.Terrain.Rendering

Enumeration of semantic flags for updating GPU buffers with Mappable access.

enum GpuUpdateFlag  

Items

Discard = 0

The buffer update specifies new content, any existing content is discarded.

Remarks:

The CPU can update the buffer immediately and the GPU can continue to use the existing content.

The system may choose any method for synchronizing with the GPU, for example using a temporary buffer. Updating many and/or large dynamic buffers very often with the Discard flag can still stall the GPU, for example if the system runs out of temporary buffers and needs to wait until one becomes free again.

Updates for Dynamic resources always follow this semantic of this flag.

NoOverwrite = 1

The buffer update modifies the content in a way that does not interfere with pending GPU render commands.

Remarks:

The CPU can update the buffer immediately and the GPU can continue to use the existing content.

Render glitches and/or runtime errors can occur if the updated content is still being used for rendering.