enum ViewFlagConstants { View_FullScreen = 0x00001, View_VSync = 0x00002, View_FSAA = 0x00004, View_ForceTiling = 0x00008, View_WindowResizable = 0x00010, View_WindowDropFiles = 0x00020, View_WindowSWCursor = 0x00040, View_UseOrientation = 0x00080, View_Stereo = 0x00100, View_Stereo_SplitV = 0x00200, View_Stereo_SplitH = 0x00400, View_Pos = 0x01000, View_Size = 0x02000, View_PrecompileShaders = 0x04000, View_SoftwareRendering = 0x08000, View_StaticBuffers = 0x10000, View_GL20 = 0x20000, View_DeferredContext = 0x40000, View_ShaderModel20 = 0x80000, View_DebugMessages = 0x100000, View_Portrait = 0x200000, View_ReversePortrait = 0x400000, View_Landscape = 0x800000, View_ReverseLandscape = 0x1000000 };
Flags set for viewport and orientation modes.
Members |
Description |
View_FullScreen = 0x00001 |
Application should run in fullscreen mode. |
View_VSync = 0x00002 |
Application should enable vertical synchronization. |
View_FSAA = 0x00004 |
Enables Full Screen Anti-Aliasing. |
View_ForceTiling = 0x00008 |
Unused. |
View_WindowResizable = 0x00010 |
Application’s window is resizable. |
View_WindowDropFiles = 0x00020 |
Application’s window can accept drag-and-drop files. |
View_WindowSWCursor = 0x00040 |
Force SW cursor, disabling HW one if available. |
View_UseOrientation = 0x00080 |
Application must respond to OnOrientation by setting the viewport Orientation flags. |
View_Stereo = 0x00100 |
Application should run in Stereo mode. |
View_Stereo_SplitV = 0x00200 |
Stereo in the display hardware only; uses the same size buffer but half for each eye. Set View_Stereo also. |
View_Stereo_SplitH = 0x00400 |
Stereo in the display hardware only; uses the same size buffer but half for each eye. Set View_Stereo also. |
View_Pos = 0x01000 |
These flags must be set if size and/or pos is provided. If not specified, default location and size values will be used. Defaults have special meaning when switching from and going into FullScreen mode. |
View_Size = 0x02000 |
These flags must be set if size and/or pos is provided. If not specified, default location and size values will be used. Defaults have special meaning when switching from and going into FullScreen mode. |
View_PrecompileShaders = 0x04000 |
Application should compile all shaders on startup, instead of compiling on demand (not applicable on all platforms). If the platform compiles shaders at runtime, this flag causes all possible shaders to be compiled at startup. The default causes shaders to be compiled as they are used. |
View_SoftwareRendering = 0x08000 |
Forces the system to use software rendering (if available). - D3D10/11 use this flag to select a WARP device. |
View_StaticBuffers = 0x10000 | |
View_GL20 = 0x20000 |
Causes the created OpenGL context to use legacy mode rather than GL 3. Only applicable to OpenGL renderers. |
View_DeferredContext = 0x40000 |
Causes use of a deferred context, either supported directly by the graphics API, or a software deferred context. |
View_ShaderModel20 = 0x80000 |
Forces the shader system in D3D9 to use SM2.0 shaders, even if it is capable of SM3.0. |
View_DebugMessages = 0x100000 |
Enables additional output by the graphics/driver layer. Only applicable to OpenGL 3.x+. |
View_Portrait = 0x200000 |
Allowed orientations. |
View_ReversePortrait = 0x400000 |
Allowed orientations. |
View_Landscape = 0x800000 |
Allowed orientations. |
View_ReverseLandscape = 0x1000000 |
Allowed orientations. |
Platform.h