![]() |
![]()
| ![]() |
![]()
NAMESDLmm::VideoInfo - Video target information. SYNOPSIS#include <sdlmm_videoinfo.h> Public Methodsbool GetVideoInfo ()
Public Attributesconst SDL_VideoInfo* me
DETAILED DESCRIPTIONVideo target information. 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. Todo:
Warning:
See also:
MEMBER FUNCTION DOCUMENTATIONPixelFormat SDLmm::VideoInfo::GetPixelFormat () [inline]const PixelFormat SDLmm::VideoInfo::GetPixelFormat () const [inline]Returns the SDL_PixelFormat struct for the video device. bool SDLmm::VideoInfo::GetVideoInfo ()Update the pointer to the video information. Returns:
Note:
bool SDLmm::VideoInfo::blit_fill ()Returns true if color fills are accelerated. bool SDLmm::VideoInfo::blit_hw ()Returns true if hardware to hardware blits are accelerated. bool SDLmm::VideoInfo::blit_hw_A ()Returns true if hardware to hardware alpha blits are accelerated. bool SDLmm::VideoInfo::blit_hw_CC ()Returns true if hardware to hardware colorkey blits are accelerated. bool SDLmm::VideoInfo::blit_sw ()Returns true if software to hardware blits are accelerated. bool SDLmm::VideoInfo::blit_sw_A ()Returns true if software to hardware alpha blits are accelerated. bool SDLmm::VideoInfo::blit_sw_CC ()Returns true if software to hardware colorkey blits are accelerated. bool SDLmm::VideoInfo::hw_available ()Returns true if hardware acceleration is available. Uint32 SDLmm::VideoInfo::video_mem ()Returns the total amount of video memory in kilobytes. bool SDLmm::VideoInfo::wm_available ()Returns true if a window managed is available. MEMBER DATA DOCUMENTATIONconst SDL_VideoInfo * SDLmm::VideoInfo::meThe 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(). AUTHORGenerated automatically by Doxygen for SDLmm from the source code.
|