|
WoW Model Viewer
Your premiere tool for viewing, equipping and animating World of Warcraft models.
|
Legacy OpenGL video-settings manager. More...
#include <video.h>
Public Member Functions | |
| VideoSettings () | |
| ~VideoSettings () | |
| bool | Init () |
| void | InitGL () |
| void | EnumDisplayModes () |
| bool | GetCompatibleWinMode (VideoCaps caps) |
| bool | GetAvailableMode () |
| void | ResizeGLScene (int width, int height) |
| void | SetMode () |
| void | SetCurrent () |
| void | SwapBuffers () |
| void | Release () |
Public Attributes | |
| bool | init = false |
| bool | render = false |
| bool | refresh = false |
| int | xRes = 0 |
| int | yRes = 0 |
| int | pixelFormat = 0 |
| float | fov = 45.0f |
| int | desktopBPP = 0 |
| std::vector< VideoCaps > | capsList |
| VideoCaps | curCap {} |
| int | capIndex = 0 |
| int | AnisofilterLevel = 0 |
| int | numTextureUnits = 0 |
| char * | vendor = nullptr |
| char * | version = nullptr |
| char * | renderer = nullptr |
| bool | hasHardware = false |
| bool | secondPass = false |
| bool | supportFragProg = false |
| bool | supportVertexProg = false |
| bool | supportGLSL = false |
| bool | supportCompression = false |
| bool | supportMultiTex = false |
| bool | supportDrawRangeElements = false |
| bool | supportPointSprites = false |
| bool | supportShaders = false |
| bool | supportAntiAlias = false |
| bool | supportVBO = false |
| bool | supportPBO = false |
| bool | supportFBO = false |
| bool | supportNPOT = false |
| bool | supportOGL20 = false |
| bool | supportWGLPixelFormat = false |
| bool | supportTexRects = false |
| bool | useMasking = false |
| bool | useEnvMapping = true |
Legacy OpenGL video-settings manager.
Enumerates display modes, negotiates pixel formats, and tracks GPU capabilities. Retained for backward compatibility with the fixed-function rendering path.
|
default |
| bool VideoSettings::GetAvailableMode | ( | ) |
| bool VideoSettings::GetCompatibleWinMode | ( | VideoCaps | caps | ) |
| bool VideoSettings::Init | ( | ) |
| void VideoSettings::InitGL | ( | ) |
| void VideoSettings::ResizeGLScene | ( | int | width, |
| int | height | ||
| ) |
| void VideoSettings::SetCurrent | ( | ) |
| void VideoSettings::SetMode | ( | ) |
| void VideoSettings::SwapBuffers | ( | ) |