SDL_GenerateMipmapsForGPUTexture

Generates mipmaps for the given texture.

This function must not be called inside of any pass.

extern (C) nothrow @nogc extern
void
SDL_GenerateMipmapsForGPUTexture

Parameters

command_buffer SDL_GPUCommandBuffer*

a command_buffer.

texture SDL_GPUTexture*

a texture with more than 1 mip level.

Meta