Isle
|
[AI] Encapsulates parameters required to initialize the core Omni engine. More...
#include <mxomnicreateparam.h>
Public Member Functions | |
MxOmniCreateParam (const char *p_mediaPath, struct HWND__ *p_windowHandle, MxVideoParam &p_vparam, MxOmniCreateFlags p_flags) | |
[AI] Constructs a parameter set for initializing the Omni engine. More... | |
MxOmniCreateFlags & | CreateFlags () |
[AI] Access/modify the creation flags. More... | |
const MxString & | GetMediaPath () const |
[AI] Gets the media/resource directory path. More... | |
const HWND | GetWindowHandle () const |
[AI] Returns the handle to the rendering window. More... | |
MxVideoParam & | GetVideoParam () |
[AI] Access the detailed video parameter structure (for modification). More... | |
const MxVideoParam & | GetVideoParam () const |
[AI] Fetch immutable video parameter struct. More... | |
![]() | |
virtual | ~MxParam () |
[AI] Virtual destructor for safe polymorphic deletion of derived parameter objects. More... | |
[AI] Encapsulates parameters required to initialize the core Omni engine.
[AI] MxOmniCreateParam gathers all required data for initializing the game engine including the media path, main window handle, video/graphics settings, and a set of engine behavior flags. It subclasses MxParam for easy passing in generic initialization APIs.
Definition at line 19 of file mxomnicreateparam.h.
MxOmniCreateParam::MxOmniCreateParam | ( | const char * | p_mediaPath, |
struct HWND__ * | p_windowHandle, | ||
MxVideoParam & | p_vparam, | ||
MxOmniCreateFlags | p_flags | ||
) |
[AI] Constructs a parameter set for initializing the Omni engine.
p_mediaPath | [AI] Path to the media/resources directory. |
p_windowHandle | [AI] Handle to the parent window for rendering output. Expected to be a valid HWND. |
p_vparam | [AI] Reference to a video parameter structure describing video mode and display options. |
p_flags | [AI] Engine creation flags (see MxOmniCreateFlags) determining specific options for engine startup. |
[AI] This constructor sets all required information for creating and initializing the game engine.
Definition at line 9 of file mxomnicreateparam.cpp.
|
inline |
[AI] Access/modify the creation flags.
Definition at line 40 of file mxomnicreateparam.h.
|
inline |
[AI] Gets the media/resource directory path.
Definition at line 46 of file mxomnicreateparam.h.
|
inline |
[AI] Access the detailed video parameter structure (for modification).
Definition at line 58 of file mxomnicreateparam.h.
|
inline |
[AI] Fetch immutable video parameter struct.
Definition at line 64 of file mxomnicreateparam.h.
|
inline |
[AI] Returns the handle to the rendering window.
Definition at line 52 of file mxomnicreateparam.h.