#include <sdlmm_videoinfo.h>
| Public Methods | |
| bool | GetVideoInfo () | 
| Update the pointer to the video information. More... | |
| bool | hw_available () | 
| Returns true if hardware acceleration is available. More... | |
| bool | wm_available () | 
| Returns true if a window managed is available. More... | |
| bool | blit_hw () | 
| Returns true if hardware to hardware blits are accelerated. More... | |
| bool | blit_hw_CC () | 
| Returns true if hardware to hardware colorkey blits are accelerated. More... | |
| bool | blit_hw_A () | 
| Returns true if hardware to hardware alpha blits are accelerated. More... | |
| bool | blit_sw () | 
| Returns true if software to hardware blits are accelerated. More... | |
| bool | blit_sw_CC () | 
| Returns true if software to hardware colorkey blits are accelerated. More... | |
| bool | blit_sw_A () | 
| Returns true if software to hardware alpha blits are accelerated. More... | |
| bool | blit_fill () | 
| Returns true if color fills are accelerated. More... | |
| Uint32 | video_mem () | 
| Returns the total amount of video memory in kilobytes. More... | |
| const PixelFormat | GetPixelFormat () const | 
| Returns the SDL_PixelFormat struct for the video device. More... | |
| PixelFormat | GetPixelFormat () | 
| Public Attributes | |
| const SDL_VideoInfo* | me | 
| The video info struct. More... | |
This object contains read-only information about the video hardware. If this is called before Display::SetVideoMode(), the vfmt member of the returned structure will contain the pixel format of the "best" video mode.
| 
 | 
| 
 | 
| 
 | 
| Returns the SDL_PixelFormat struct for the video device. 
 | 
| 
 | 
| Update the pointer to the video information. 
 
 
 | 
| 
 | 
| Returns true if color fills are accelerated. 
 | 
| 
 | 
| Returns true if hardware to hardware blits are accelerated. 
 | 
| 
 | 
| Returns true if hardware to hardware alpha blits are accelerated. 
 | 
| 
 | 
| Returns true if hardware to hardware colorkey blits are accelerated. 
 | 
| 
 | 
| Returns true if software to hardware blits are accelerated. 
 | 
| 
 | 
| Returns true if software to hardware alpha blits are accelerated. 
 | 
| 
 | 
| Returns true if software to hardware colorkey blits are accelerated. 
 | 
| 
 | 
| Returns true if hardware acceleration is available. 
 | 
| 
 | 
| Returns the total amount of video memory in kilobytes. 
 | 
| 
 | 
| Returns true if a window managed is available. 
 | 
| 
 | 
| The video info struct. This struct contains the information about the display. You can access it directly or use the VideoInfo functions like VideoInfo::hw_available(). The data stored in this pointer can be updated (if needed) using VideoInfo::GetVideoInfo(). | 
| Documentation automatically generated by  written by Dimitri van Heesch. | Project hosted at |