Skip to content

TSdlGpuBlitRegion

A record specifying a region of a texture used in the blit operation.

Definition

Unit: Neslib.Sdl3.Gpu

type TSdlGpuBlitRegion = record ... end;

See Also

Properties

Name Description
H The height of the region.
LayerOrDepthPlane The layer index or depth plane of the region. This value is treated as a layer index on 2D array and cube textures, and as a depth plane on 3D
MipLevel The mip level index of the region.
Texture The texture.
W The width of the region.
X The left offset of the region.
Y The top offset of the region.

Property Descriptions

H

The height of the region.

property H: Integer read FHandle.h write FHandle.h

Type: Integer


LayerOrDepthPlane

The layer index or depth plane of the region. This value is treated as a layer index on 2D array and cube textures, and as a depth plane on 3D

property LayerOrDepthPlane: Integer read FHandle.layer_or_depth_plane write FHandle.layer_or_depth_plane

Type: Integer


MipLevel

The mip level index of the region.

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

Type: Integer


Texture

The texture.

property Texture: TSdlGpuTexture read GetTexture write SetTexture

Type: TSdlGpuTexture


W

The width of the region.

property W: Integer read FHandle.w write FHandle.w

Type: Integer


X

The left offset of the region.

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

Type: Integer


Y

The top offset of the region.

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

Type: Integer