![]() |
VR-Vantage 3.1 API Documentation
|
Public Member Functions | |
| RenderTexture (char *strMode, int iWidth, int iHeight, GLenum target) | |
| ~RenderTexture () | |
| void | Activate () |
| void | Deactivate () |
| void | Bind (int iBuffer=WGL_FRONT_LEFT_ARB) |
| void | Release (int iBuffer=WGL_FRONT_LEFT_ARB) |
| int | GetWidth () |
| int | GetHeight () |
Private Member Functions | |
| void | CreateTexture (GLuint &tex) |
Private Attributes | |
| PBuffer * | m_pbuffer |
| GLuint | m_tex [max_buffers] |
| GLenum | m_target |
Static Private Attributes | |
| static const int | max_buffers = 14 |
References m_pbuffer, m_tex, and max_buffers.
|
inline |
References glDeleteTextures(), m_pbuffer, m_tex, and max_buffers.
|
inline |
References CreateTexture(), glBindTexture(), m_pbuffer, m_target, m_tex, and WGL_FRONT_LEFT_ARB.
|
inline |
References glBindTexture(), m_pbuffer, m_target, m_tex, and WGL_FRONT_LEFT_ARB.
References GL_CLAMP_TO_EDGE, GL_NEAREST, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, glBindTexture(), glGenTextures(), glTexParameteri(), and m_target.
Referenced by Bind().
|
staticprivate |
Referenced by RenderTexture(), and ~RenderTexture().
|
private |
Referenced by Activate(), Bind(), Deactivate(), GetHeight(), GetWidth(), Release(), RenderTexture(), and ~RenderTexture().
|
private |
Referenced by Bind(), Release(), RenderTexture(), and ~RenderTexture().
|
private |
Referenced by Bind(), CreateTexture(), and Release().