Click or drag to resize

BufferFlags Enumeration

Specifies various flags that control vertex and index buffer behavior.

Namespace:  Internal.SharpBgfx
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
[FlagsAttribute]
public enum BufferFlags
Members
  Member nameValueDescription
None0 No flags specified.
ComputeFormat8x11 Specifies the format of data in a compute buffer as being 8x1.
ComputeFormat8x22 Specifies the format of data in a compute buffer as being 8x2.
ComputeFormat8x43 Specifies the format of data in a compute buffer as being 8x4.
ComputeFormat16x14 Specifies the format of data in a compute buffer as being 16x1.
ComputeFormat16x25 Specifies the format of data in a compute buffer as being 16x2.
ComputeFormat16x46 Specifies the format of data in a compute buffer as being 16x4.
ComputeFormat32x17 Specifies the format of data in a compute buffer as being 32x1.
ComputeFormat32x28 Specifies the format of data in a compute buffer as being 32x2.
ComputeFormat32x49 Specifies the format of data in a compute buffer as being 32x4.
ComputeTypeInt16 Specifies the type of data in a compute buffer as being unsigned integers.
ComputeTypeUInt32 Specifies the type of data in a compute buffer as being signed integers.
ComputeTypeFloat48 Specifies the type of data in a compute buffer as being floating point values.
ComputeRead256 Buffer will be read by a compute shader.
ComputeWrite512 Buffer will be written into by a compute shader. It cannot be accessed by the CPU.
DrawIndirect1024 Buffer is the source of indirect draw commands.
AllowResize2048 Buffer will resize on update if a different quantity of data is passed. If this flag is not set the data will be trimmed to fit in the existing buffer size. Effective only for dynamic buffers.
Index324096 Buffer is using 32-bit indices. Useful only for index buffers.
ComputeReadWrite768 Buffer will be read and written by a compute shader.
See Also