TSdlGpuTextureRegion
A record specifying a region of a texture.
Used when transferring data to or from a texture.
Definition
Unit: Neslib.Sdl3.Gpu
See Also
Properties
Name | Description |
---|---|
D | The depth of the region. |
H | The height of the region. |
Layer | The layer index to transfer. |
MipLevel | The mip level index to transfer. |
Texture | The texture used in the copy operation. |
W | The width of the region. |
X | The left offset of the region. |
Y | The top offset of the region. |
Z | The front offset of the region. |
Property Descriptions
D
The depth of the region.
property D: Integer read FHandle.d write FHandle.d
Type: Integer
H
The height of the region.
property H: Integer read FHandle.h write FHandle.h
Type: Integer
Layer
The layer index to transfer.
property Layer: Integer read FHandle.layer write FHandle.layer
Type: Integer
MipLevel
The mip level index to transfer.
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
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
Z
The front offset of the region.
property Z: Integer read FHandle.z write FHandle.z
Type: Integer