TSdlGpuBufferCreateInfo
A record specifying the parameters of a buffer.
Note that certain combinations are invalid, for example Vertex and Index.
Definition
Unit: Neslib.Sdl3.Gpu
See Also
Properties
Name | Description |
---|---|
Props | A properties ID for extensions. Should be 0 if no extensions are needed. |
Size | The size in bytes of the buffer. |
Usage | How the buffer is intended to be used by the client. |
Methods
Name | Description |
---|---|
Create | Create with default values. |
Init | Init with default values. |
Property Descriptions
Props
A properties ID for extensions. Should be 0 if no extensions are needed.
property Props: TSdlProperties read GetProps write SetProps
Type: TSdlProperties
Size
The size in bytes of the buffer.
property Size: Integer read FHandle.size write FHandle.size
Type: Integer
Usage
How the buffer is intended to be used by the client.
property Usage: TSdlGpuBufferUsageFlags read GetUsage write SetUsage
Type: TSdlGpuBufferUsageFlags
Method Descriptions
Create
Create with default values.
class function Create: TSdlGpuBufferCreateInfo; inline; static
Returns
Init
Init with default values.
procedure Init; inline