SDL_GetRenderTextureAddressMode - Man Page
Get the texture addressing mode used in SDL_RenderGeometry().
Synopsis
#include <SDL3/SDL_render.h> bool SDL_GetRenderTextureAddressMode(SDL_Renderer *renderer, SDL_TextureAddressMode *u_mode, SDL_TextureAddressMode *v_mode);
Function Parameters
- renderer
the rendering context.
- u_mode
a pointer filled in with the SDL_TextureAddressMode to use for horizontal texture coordinates in SDL_RenderGeometry(), may be NULL.
- v_mode
a pointer filled in with the SDL_TextureAddressMode to use for vertical texture coordinates in SDL_RenderGeometry(), may be NULL.
Return Value
Returns true on success or false on failure; call SDL_GetError() for more information.
Thread Safety
This function should only be called on the main thread.
Availability
This function is available since SDL 3.4.0.
See Also
Info
SDL 3.4.20 Simple Directmedia Layer SDL3 FUNCTIONS