setScaleMode method
Set the scale mode used for texture scale operations.
The default texture scale mode is SDL_SCALEMODE_LINEAR.
If the scale mode is not supported, the closest supported mode is chosen.
\param texture the texture to update. \param scaleMode the SDL_ScaleMode to use for texture scaling. \returns true on success or false on failure; call SDL_GetError() for more information.
\threadsafety This function should only be called on the main thread.
\since This function is available since SDL 3.1.3.
\sa SDL_GetTextureScaleMode
extern SDL_DECLSPEC bool SDLCALL SDL_SetTextureScaleMode(SDL_Texture *texture, SDL_ScaleMode scaleMode)
Implementation
bool setScaleMode(int scaleMode) {
return sdlSetTextureScaleMode(this, scaleMode);
}