GpuBufferFlags
Description
Enumeration of behaviour flags for IGpuBuffer objects.
Public / Constants
Update
The CPU has write access to the buffer content, either directly via memory mapping (see ResourceAccessPattern.Mappable) or indirectly via deferred copying (see ResourceAccessPattern.Dynamic).
Volatile
The buffer content is modified frequently, either by the CPU or by the GPU.
Volatile resources with CPU write access usually have ResourceAccessPattern.Mappable access.
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 implementation-specific 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