Wiki Page Content

Differences between revisions 1 and 2
Revision 1 as of 2011-03-11 20:42:08
Size: 810
Editor: SheenaSmith
Comment: create page - 3/10 46bd121b04a2 (2/13 d4381f3b0d1e)
Revision 2 as of 2011-03-11 20:45:48
Size: 788
Editor: SheenaSmith
Comment: minor change
Deletions are marked like this. Additions are marked like this.
Line 31: Line 31:
 .[[SDL_InitFormat]]

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

None: SDL_AllocFormat (last edited 2015-09-17 21:36:32 by PhilippWiesemann)

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