SDL_GPUBlitRegion

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

Members

Variables

h
Uint32 h;

The height of the region.

layer_or_depth_plane
Uint32 layer_or_depth_plane;

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 textures.

mip_level
Uint32 mip_level;

The mip level index of the region.

texture
SDL_GPUTexture* texture;

The texture.

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.

See Also

Meta