Skip to content

TSdlGpuTextureLocation

A record specifying a location in a texture.

Used when copying data from one texture to another.

Definition

Unit: Neslib.Sdl3.Gpu

type TSdlGpuTextureLocation = record ... end;

See Also

Properties

Name Description
Layer The layer index of the location.
MipLevel The mip level index of the location.
Texture The texture used in the copy operation.
X The left offset of the location.
Y The top offset of the location.
Z The front offset of the location.

Property Descriptions

Layer

The layer index of the location.

property Layer: Integer read FHandle.layer write FHandle.layer

Type: Integer


MipLevel

The mip level index of the location.

property MipLevel: Integer read FHandle.mip_level write FHandle.mip_level

Type: Integer


Texture

The texture used in the copy operation.

property Texture: TSdlGpuTexture read GetTexture write SetTexture

Type: TSdlGpuTexture


X

The left offset of the location.

property X: Integer read FHandle.x write FHandle.x

Type: Integer


Y

The top offset of the location.

property Y: Integer read FHandle.y write FHandle.y

Type: Integer


Z

The front offset of the location.

property Z: Integer read FHandle.z write FHandle.z

Type: Integer