Wiki Page Content

Revision 2 as of 2011-03-11 20:45:48

Clear message

DRAFT

SDL_AllocFormat

Use this function to create an SDL_PixelFormat structure from an a pixel format enum SDL_PixelFormatEnum.

Syntax

SDL_PixelFormat* SDL_AllocFormat(Uint32 pixel_format)

Function Parameters

pixel_format

one of the SDL_PixelFormatEnum values

Return Value

Returns the new SDL_PixelFormat structure or NULL on error.

Code Examples

You can add your code example here

Remarks

You can add useful comments here


CategoryAPI, CategoryPixels

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