OBJECTIVELYGPU_EXPORT Class * _Texture(void)
Definition Texture.c:307
The RenderDevice encapsulates an SDL_GPUDevice and provides methods for allocating GPU resources,...
Definition RenderDevice.h:63
An SDL_GPUTexture and the metadata describing it.
Definition Texture.h:60
SDL_GPUSampleCount sampleCount
The MSAA sample count.
Definition Texture.h:111
SDL_GPUTextureUsageFlags usage
The usage flags the texture was created with.
Definition Texture.h:96
TextureInterface * interface
The interface.
Definition Texture.h:71
SDL_GPUTextureFormat format
The pixel format.
Definition Texture.h:81
SDL_GPUTexture * texture
The underlying SDL texture.
Definition Texture.h:76
Uint32 layerCountOrDepth
The depth (3D) or layer count (array/cube), or 1.
Definition Texture.h:101
SDL_GPUTextureType type
The texture type (2D, cube, 3D, array).
Definition Texture.h:91
SDL_Size size
The texture dimensions in pixels.
Definition Texture.h:86
Uint32 numLevels
The number of mip levels.
Definition Texture.h:106