Wiki Page Content

Revision 1 as of 2009-12-14 06:04:05

Clear message

SDL_SetTextureBlendMode

Use this function to set the blend mode used for texture copy operations.

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.


CategoryAPI, CategoryVideo

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit