GpuBufferFlags
Description
Enumeration of behaviour flags for IGpuBuffer objects.
Public / Constants
None
No GPU buffer flags.
Non-static buffers have the resource access pattern ResourceAccessPattern.Dynamic with indirect CPU write access via deferred copying, unless the Map flag has been specified at creation time.
Map
CPU write access of the buffer content shall be direct, via memory mapping.
Buffers created with this flag have the ResourceAccessPattern.Mappable resource access pattern, which affects the semantic of buffer updates. See IGpuBuffer for details.
Draw
Does the buffer hold arguments for indirect drawing of primitives that have been generated by a GPU program?
When this flag is present, the given element size must either be zero or must be equal to or greater than the actual element size of the draw buffer layout.
- See also
Work
Does the buffer hold arguments for indirect dispatching of computational work that has been generated by a GPU program?
When this flag is present, the given element size must either be zero or must be equal to or greater than the actual element size of the implementation-specific work buffer layout.
- See also
Mesh
Does the buffer hold arguments for indirect dispatching of mesh rendering work that has been generated by a GPU program?
When this flag is present, the given element size must either be zero or must be equal to or greater than the actual element size of the implementation-specific mesh buffer layout.
- See also