SDL_GPUTextureLocation

A structure specifying a location in a texture.

Used when copying data from one texture to another.

extern (C) nothrow @nogc
struct SDL_GPUTextureLocation {}

Members

Variables

layer
Uint32 layer;

The layer index of the location.

mip_level
Uint32 mip_level;

The mip level index of the location.

texture
SDL_GPUTexture* texture;

The texture used in the copy operation.

x
Uint32 x;

The left offset of the location.

y
Uint32 y;

The top offset of the location.

z
Uint32 z;

The front offset of the location.

See Also

Meta