SDL_GPUTextureRegion

A structure specifying a region of a texture.

Used when transferring data to or from a texture.

Members

Variables

d
Uint32 d;

The depth of the region.

h
Uint32 h;

The height of the region.

layer
Uint32 layer;

The layer index to transfer.

mip_level
Uint32 mip_level;

The mip level index to transfer.

texture
SDL_GPUTexture* texture;

The texture used in the copy operation.

w
Uint32 w;

The width of the region.

x
Uint32 x;

The left offset of the region.

y
Uint32 y;

The top offset of the region.

z
Uint32 z;

The front offset of the region.

See Also

Meta