Skip to content

TSdlGpuTransferBufferCreateInfo

A record specifying the parameters of a transfer buffer.

Definition

Unit: Neslib.Sdl3.Gpu

type TSdlGpuTransferBufferCreateInfo = record ... end;

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 transfer buffer.
Usage How the transfer 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 transfer buffer.

property Size: Integer read FHandle.size write FHandle.size

Type: Integer


Usage

How the transfer buffer is intended to be used by the client.

property Usage: TSdlGpuTransferBufferUsage read GetUsage write SetUsage

Type: TSdlGpuTransferBufferUsage


Method Descriptions

Create

Create with default values.

class function Create: TSdlGpuTransferBufferCreateInfo; inline; static

Returns

TSdlGpuTransferBufferCreateInfo


Init

Init with default values.

procedure Init; inline