TSdlGpuVertexAttribute
A record specifying a vertex attribute.
All vertex attribute locations provided to an TSdlGpuVertexInputState must be unique.
Definition
Unit: Neslib.Sdl3.Gpu
See Also
Properties
Name | Description |
---|---|
BufferSlot | The binding slot of the associated vertex buffer. |
Format | The size and type of the attribute data. |
Location | The shader input location index. |
Offset | The byte offset of this attribute relative to the start of the vertex element. |
Property Descriptions
BufferSlot
The binding slot of the associated vertex buffer.
property BufferSlot: Integer read FHandle.buffer_slot write FHandle.buffer_slot
Type: Integer
Format
The size and type of the attribute data.
property Format: TSdlGpuVertexElementFormat read GetFormat write SetFormat
Type: TSdlGpuVertexElementFormat
Location
The shader input location index.
property Location: Integer read FHandle.location write FHandle.location
Type: Integer
Offset
The byte offset of this attribute relative to the start of the vertex element.
property Offset: Integer read FHandle.offset write FHandle.offset
Type: Integer