Isle
|
[AI] Video parameter configuration for display and rendering, encapsulates resolution, palette, backbuffers, display flags, and device identifier. More...
#include <mxvideoparam.h>
Public Member Functions | |
MxVideoParam () | |
[AI] Construct MxVideoParam with default screen rectangle (640x480), no palette, zero backbuffers, default flags, and null device name. More... | |
__declspec (dllexport) MxVideoParam(MxRect32 &p_rect | |
[AI] Construct MxVideoParam specifying display rectangle, color palette, number of back buffers, and display flags. More... | |
MxVideoParam (MxVideoParam &p_videoParam) | |
[AI] Copy constructor, performs a deep copy of all fields including a duplicate of the device name string. More... | |
~MxVideoParam () | |
[AI] Destructor, frees device name memory if used. [AI] More... | |
void | SetDeviceName (char *p_deviceId) |
[AI] Set the device name/id for this video parameter (e.g., a specific display adapter), making a deep copy of the input string. More... | |
MxVideoParam & | operator= (const MxVideoParam &p_videoParam) |
[AI] Assignment operator, performs deep copy (including device name string) of another instance. More... | |
MxVideoParamFlags & | Flags () |
[AI] Access the video parameter flags (windowed/fullscreen, rendering mode, etc). More... | |
MxRect32 & | GetRect () |
[AI] Get the rectangle specifying the display dimensions and screen area. More... | |
MxPalette * | GetPalette () |
[AI] Get the palette used for rendering (may be NULL if not set). More... | |
void | SetPalette (MxPalette *p_palette) |
[AI] Assign the palette pointer (color indexing) for the video mode. More... | |
char * | GetDeviceName () |
[AI] Get a pointer to the internal device name string (may be NULL). More... | |
MxU32 | GetBackBuffers () |
[AI] Get the number of backbuffers requested for this display mode. More... | |
void | SetBackBuffers (MxU32 p_backBuffers) |
[AI] Set the desired number of backbuffers (triple/double buffering). More... | |
Public Attributes | |
MxPalette * | p_palette |
MxPalette MxULong | p_backBuffers |
MxPalette MxULong MxVideoParamFlags & | p_flags |
[AI] Video parameter configuration for display and rendering, encapsulates resolution, palette, backbuffers, display flags, and device identifier.
Definition at line 14 of file mxvideoparam.h.
MxVideoParam::MxVideoParam | ( | ) |
[AI] Construct MxVideoParam with default screen rectangle (640x480), no palette, zero backbuffers, default flags, and null device name.
Definition at line 12 of file mxvideoparam.cpp.
MxVideoParam::MxVideoParam | ( | MxVideoParam & | p_videoParam | ) |
[AI] Copy constructor, performs a deep copy of all fields including a duplicate of the device name string.
p_videoParam | Source video parameter object to copy. [AI] |
Definition at line 35 of file mxvideoparam.cpp.
MxVideoParam::~MxVideoParam | ( | ) |
[AI] Destructor, frees device name memory if used. [AI]
Definition at line 48 of file mxvideoparam.cpp.
MxVideoParam::__declspec | ( | dllexport | ) | & |
[AI] Construct MxVideoParam specifying display rectangle, color palette, number of back buffers, and display flags.
p_rect | Rectangle dimensions for the video output. [AI] |
p_palette | Palette to use for video output. [AI] |
p_backBuffers | Number of requested back buffers for double/triple buffering. [AI] |
p_flags | Control flags such as windowed/fullscreen mode, hardware/software rendering etc. [AI] |
|
inline |
[AI] Access the video parameter flags (windowed/fullscreen, rendering mode, etc).
Definition at line 45 of file mxvideoparam.h.
|
inline |
[AI] Get the number of backbuffers requested for this display mode.
Definition at line 64 of file mxvideoparam.h.
|
inline |
[AI] Get a pointer to the internal device name string (may be NULL).
Definition at line 61 of file mxvideoparam.h.
|
inline |
[AI] Get the palette used for rendering (may be NULL if not set).
Definition at line 53 of file mxvideoparam.h.
|
inline |
[AI] Get the rectangle specifying the display dimensions and screen area.
Definition at line 49 of file mxvideoparam.h.
MxVideoParam & MxVideoParam::operator= | ( | const MxVideoParam & | p_videoParam | ) |
[AI] Assignment operator, performs deep copy (including device name string) of another instance.
p_videoParam | Source object to copy from. [AI] |
Definition at line 77 of file mxvideoparam.cpp.
|
inline |
[AI] Set the desired number of backbuffers (triple/double buffering).
p_backBuffers | Desired backbuffer count. [AI] |
Definition at line 68 of file mxvideoparam.h.
void MxVideoParam::SetDeviceName | ( | char * | p_deviceId | ) |
[AI] Set the device name/id for this video parameter (e.g., a specific display adapter), making a deep copy of the input string.
p_deviceId | Null-terminated string with device identifier; if NULL device will be unset. [AI] |
Definition at line 57 of file mxvideoparam.cpp.
|
inline |
[AI] Assign the palette pointer (color indexing) for the video mode.
p_palette | Palette instance to assign. [AI] |
Definition at line 57 of file mxvideoparam.h.
Definition at line 25 of file mxvideoparam.h.
MxPalette MxULong MxVideoParamFlags& MxVideoParam::p_flags |
Definition at line 25 of file mxvideoparam.h.
MxPalette* MxVideoParam::p_palette |
Definition at line 25 of file mxvideoparam.h.