| Table of Contents | ||
|
|
||
| GetPrimary | ||
|
Purpose Special case function - provides total video access to the main surface |
||
|
Protoype SDL_Surface* CVideo::GetPrimary () |
||
|
Description This function is one to be used sparingly, as it allows access to the primary video surface. Reasons for doing this are to allow per-pixel control over the surface as well as providing other managers the ability to blit a surface directly onto the main surface. |
||
|
Use CVideo video; SDL_Surface* ps_primary = video.GetPrimary(); |
||
|
|
||
|