Buffer |
[FlagsAttribute] public enum BufferUsageFlags
Member name | Value | Description |
---|---|---|
None | 0 | |
TransferSrc | 1 | Can be used as a source of transfer operations |
TransferDst | 2 | Can be used as a destination of transfer operations |
UniformTexelBuffer | 4 | Can be used as TBO |
StorageTexelBuffer | 8 | Can be used as IBO |
UniformBuffer | 16 | Can be used as UBO |
StorageBuffer | 32 | Can be used as SSBO |
IndexBuffer | 64 | Can be used as source of fixed-function index fetch (index buffer) |
VertexBuffer | 128 | Can be used as source of fixed-function vertex fetch (VBO) |
IndirectBuffer | 256 | Can be the source of indirect parameters (e.g. indirect buffer, parameter buffer) |
ShaderDeviceAddress | 131,072 |
Copyright (c) by AB4D d.o.o. (www.ab4d.com)