struct ViewConfig { unsigned ViewFlags; int ColorBits; int DepthBits; int StencilBits; Size<unsigned> ViewSize; unsigned Orientation; unsigned StereoFormat; Point<int> WindowPos; Size<unsigned> MinSize; const Args* CommandLineArgs; };
ViewConfig is a structure describing the viewport configuration settings.
Data Member |
Description |
The requested number of bits in the color buffer (-1 will use platform default). | |
The args passed to the App on the commandline. | |
The requested number of bits in the depth buffer (-1 will use platform default). | |
Minimum size of the window. | |
Screen orientation. | |
The requested number of bits in the stencil buffer (-1 will use platform default). | |
The Stereo mode set for the viewport. | |
Bit-flags for configuration. See ViewFlagConstants. | |
The size of the viewport. | |
The position of the window. |
Method |
Description |
Clears the window position. | |
Clears the window size. | |
Converts the platform agnostic flags (only) from ViewConfig flags. | |
Returns the minimum size of the window. | |
Returns the window position. | |
Returns the window size. | |
Returns the viewport flags set for the window. | |
Checks if the viewport flags are set for the current window. | |
Sets the viewport flags for the window. | |
Sets the minimum size of the window. | |
Sets the position of the window. | |
Sets the size of the view window. | |
ViewConfig constructor. |
Platform.h