Scroll to navigation

SDL_SetRenderTextureAddressMode(3) SDL3 FUNCTIONS SDL_SetRenderTextureAddressMode(3)

NAME

SDL_SetRenderTextureAddressMode - Set the texture addressing mode used in SDL_RenderGeometry().

SYNOPSIS

#include <SDL3/SDL_render.h>
bool SDL_SetRenderTextureAddressMode(SDL_Renderer *renderer, SDL_TextureAddressMode u_mode, SDL_TextureAddressMode v_mode);

FUNCTION PARAMETERS

the rendering context.
the SDL_TextureAddressMode to use for horizontal texture coordinates in SDL_RenderGeometry().

the SDL_TextureAddressMode to use for vertical texture coordinates in SDL_RenderGeometry().

RETURN VALUE

Returns true on success or false on failure; call SDL_GetError() for more information.

AVAILABILITY

This function is available since SDL 3.4.0.

SEE ALSO

SDL_RenderGeometry(3), SDL_RenderGeometryRaw(3), SDL_GetRenderTextureAddressMode(3)

SDL 3.3.0 Simple Directmedia Layer