[SDL] struct question.

Mattias Engdegård f91-men at nada.kth.se
Sun Apr 2 04:21:59 PDT 2000


>Can someone tell me what these are?  I know bitspp and bytespp, but the
>rest?

RTFSource. The {RGB}{loss,shift,mask} are to extract/construct the RGB
bit fields that make up a pixel value, as there is no "standard" order
and/or size of the RGB components.
colorkey is the pixel value considered to be "transparent"; alpha is
an opacity value for the surface.




More information about the SDL mailing list