Wiki Page Content

Revision 1 as of 2009-11-18 20:50:36

Clear message

SDL_MapRGBA

Use this function to map an RGBA quadruple to a pixel value for a given pixel format.

Syntax

Uint32 SDL_MapRGBA(const SDL_PixelFormat* format,
                   Uint8                  r, 
                   Uint8                  g, 
                   Uint8                  b,
                   Uint8                  a)

Function Parameters

format

r

g

b

a

Return Value

Code Examples

You can add your code example here

Remarks

You can add useful comments here

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