Wiki Page Content

Differences between revisions 2 and 3
Revision 2 as of 2009-12-12 21:16:21
Size: 1101
Editor: SheenaSmith
Comment: remove comment
Revision 3 as of 2009-12-13 07:35:00
Size: 1037
Editor: SheenaSmith
Comment: content changed
Deletions are marked like this. Additions are marked like this.
Line 10: Line 10:
||[[SDL_Palette]]||'''*palette'''||should the * be w/ SDL_Palette?||
||Uint8||'''BitsPerPixel'''||why is this field highlighted?||
||Uint8||'''BytesPerPixel'''||ditto||
||[[SDL_Palette]]*||'''palette'''||
||Uint8||'''Bits``Per``Pixel'''||
||Uint8||'''Bytes``Per``Pixel'''||

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