Wiki Page Content

Differences between revisions 3 and 4
Revision 3 as of 2009-12-13 07:35:00
Size: 1037
Editor: SheenaSmith
Comment: content changed
Revision 4 as of 2009-12-13 07:40:51
Size: 966
Editor: SheenaSmith
Comment:
Deletions are marked like this. Additions are marked like this.
Line 36: Line 36:
 .[[SDL_Palette]]

== Related Enumerations ==
 .[[SDL_PixelFormatEnum]]???
 .[[SDL_Surface]]
Line 42: Line 39:
 .[[SDL_ConvertSurface]]
Line 46: Line 44:
 .[[SDL_PixelFormatEnumToMasks]]???

SDL_PixelFormat

A structure that contains pixel format information.

Data Fields

SDL_Palette*

palette

Uint8

BitsPerPixel

Uint8

BytesPerPixel

Uint8

Rloss

Uint8

Gloss

Uint8

Bloss

Uint8

Aloss

Uint8

Rshift

Uint8

Gshift

Uint8

Bshift

Uint8

Bshift

Uint8

Ashift

Uint32

Rmask

Uint32

Gmask

Uint32

Bmask

Uint32

Amask

Code Examples

You can add your code example here

Remarks

Everything in the pixel format structure is read-only.


CategoryStruct

None: SDL_PixelFormat (last edited 2017-03-11 22:56:47 by PhilippWiesemann)

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