![]() |
OGRE 2.3.3
Object-Oriented Graphics Rendering Engine
|
#include <OgreWin32GLSupport.h>
Public Member Functions | |
| Win32GLSupport () | |
| void | addConfig () |
| Add any special config values to the system. | |
| virtual bool | checkExtension (const String &ext) const |
| Check if an extension is available. | |
| virtual Window * | createWindow (bool autoCreateWindow, GL3PlusRenderSystem *renderSystem, const String &windowTitle="OGRE Render Window") |
| virtual ConfigOptionMap & | getConfigOptions (void) |
| virtual unsigned int | getDisplayMonitorCount () const |
| Gets the number of display monitors. | |
| const String & | getGLVendor (void) const |
| Get vendor information. | |
| const DriverVersion & | getGLVersion (void) const |
| Get version information. | |
| virtual size_t | getNumPriorityConfigOptions () const |
| virtual const char * | getPriorityConfigOption (size_t idx) const |
| void * | getProcAddress (const char *procname) const |
| Get the address of a function. | |
| const String & | getShaderCachePath (void) const |
| Get shader cache path. | |
| const String & | getShaderLibraryPath (void) const |
| Get shader library path. | |
| bool | hasMinGLVersion (int major, int minor) const |
| Check if GL Version is supported. | |
| virtual void | initialiseExtensions () |
| Initialise extensions. | |
| virtual Window * | newWindow (const String &name, uint32 width, uint32 height, bool fullScreen, const NameValuePairList *miscParams=0) |
| Creates a new rendering window. | |
| bool | selectPixelFormat (HDC hdc, int colourDepth, int multisample, PixelFormatGpu depthStencilFormat, bool hwGamma) |
| void | setConfigOption (const String &name, const String &value) |
| void | setShaderCachePath (String path) |
| Set shader cache path. | |
| void | setShaderLibraryPath (String path) |
| Set shader library path. | |
| void | setStereoModeType (StereoModeType stereoMode) |
| void | start () |
| Start anything special. | |
| void | stop () |
| Stop anything special. | |
| String | validateConfig () |
| Make sure all the extra options are valid. | |
| Ogre::Win32GLSupport::Win32GLSupport | ( | ) |
|
virtual |
Add any special config values to the system.
Must have a "Full Screen" value that is a bool and a "Video Mode" value that is a string in the form of wxhxb
Implements Ogre::GL3PlusSupport.
|
virtualinherited |
Check if an extension is available.
Reimplemented in Ogre::GTKGLSupport.
|
virtual |
Implements Ogre::GL3PlusSupport.
|
virtualinherited |
|
virtual |
Gets the number of display monitors.
Reimplemented from Ogre::GL3PlusSupport.
|
inlineinherited |
Get vendor information.
|
inlineinherited |
Get version information.
|
virtualinherited |
Reimplemented in Ogre::EglPBufferSupport, and Ogre::GlSwitchableSupport.
|
virtualinherited |
Reimplemented in Ogre::EglPBufferSupport, and Ogre::GlSwitchableSupport.
|
virtual |
Get the address of a function.
Implements Ogre::GL3PlusSupport.
|
inlineinherited |
Get shader cache path.
|
inlineinherited |
Get shader library path.
|
inherited |
Check if GL Version is supported.
|
virtual |
Initialise extensions.
Reimplemented from Ogre::GL3PlusSupport.
|
virtual |
Creates a new rendering window.
| name | The name of the window. Used in other methods later like setRenderTarget and getRenderTarget. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| width | The width of the new window. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| height | The height of the new window. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| fullScreen | Specify true to make the window full screen without borders, title bar or menu bar. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| miscParams | A NameValuePairList describing the other parameters for the new rendering window. Options are case sensitive. Unrecognised parameters will be ignored silently. These values might be platform dependent, but these are present for all platforms unless indicated otherwise:
|
Android Specific
CSAA
Positive integer (usually 0, 2, 4, 8, 16)
0
Coverage sampling factor (https://www.khronos.org/registry/egl/extensions/NV/EGL_NV_coverage_sample.txt)
Android Specific
maxColourBufferSize
Positive integer (usually 16, 32)
32
Max EGL_BUFFER_SIZE
Android Specific
minColourBufferSize
Positive integer (usually 16, 32)
16
Min EGL_BUFFER_SIZE
Android Specific
maxStencilBufferSize
Positive integer (usually 0, 8)
0
EGL_STENCIL_SIZE
Android Specific
maxDepthBufferSize
Positive integer (usually 0, 16, 24)
16
EGL_DEPTH_SIZE
Android Specific
Implements Ogre::GL3PlusSupport.
| bool Ogre::Win32GLSupport::selectPixelFormat | ( | HDC | hdc, |
| int | colourDepth, | ||
| int | multisample, | ||
| PixelFormatGpu | depthStencilFormat, | ||
| bool | hwGamma ) |
Reimplemented from Ogre::GL3PlusSupport.
|
inlineinherited |
Set shader cache path.
|
inlineinherited |
Set shader library path.
|
inline |
|
virtual |
Start anything special.
Implements Ogre::GL3PlusSupport.
|
virtual |
Stop anything special.
Implements Ogre::GL3PlusSupport.
|
virtual |
Make sure all the extra options are valid.
Implements Ogre::GL3PlusSupport.