struct GpuBufferInformation

Descriptor structure used for a GpuBuffer.

Public

Constructors

GpuBufferInformation

GpuBufferInformation()

Fields

Type

Controls at which parts of the GPU pipeline is the buffer intended to be primarily used in.

Flags

GpuBufferFlags Flags

Flags that control the behavior of the buffer.

SuballocationCount

u32 SuballocationCount

Number of sub-allocated buffers to create.

Internally this will allocate memory for this many buffers, which can be bound by providing a dynamic offset when binding the buffer on GpuCommandBuffer. Binding buffers this way is more efficient than creating separate GpuBuffer for each entry.