SDL_SetTextureBlendMode
Use this function to set the blend mode used for texture copy operations.
Contents
Syntax
int SDL_SetTextureBlendMode(SDL_TextureID textureID,
int blendMode)
Function Parameters
textureID |
the texture to update |
blendMode |
the SDL_BlendMode to use for texture blending |
Return Value
Returns 0 on success or -1 if the texture is not valid or the blend mode is not supported; call SDL_GetError() for more information.
Code Examples
You can add your code example here
Remarks
If the blend mode is not supported, the closest supported mode is chosen.
