Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Ogre::Win32PBuffer Class Reference

#include <OgreWin32RenderTexture.h>

Inheritance diagram for Ogre::Win32PBuffer:
Inheritance graph
[legend]

Public Member Functions

 Win32PBuffer (PixelComponentType format, size_t width, size_t height)
 
 ~Win32PBuffer ()
 
virtual GLContextgetContext ()
 Get the GL context that needs to be active to render to this PBuffer. More...
 
PixelComponentType getFormat ()
 
uint32 getHeight ()
 
uint32 getWidth ()
 

Static Public Member Functions

static PixelComponentType getPixelComponentType (PixelFormat fmt)
 Get PBuffer component format for an OGRE pixel format. More...
 

Protected Member Functions

void createPBuffer ()
 
void destroyPBuffer ()
 

Protected Attributes

Win32ContextmContext
 
PixelComponentType mFormat
 
HGLRC mGlrc
 
HDC mHDC
 
uint32 mHeight
 
HPBUFFERARB mPBuffer
 
uint32 mWidth
 

Detailed Description

Definition at line 37 of file OgreWin32RenderTexture.h.

Constructor & Destructor Documentation

Ogre::Win32PBuffer::Win32PBuffer ( PixelComponentType  format,
size_t  width,
size_t  height 
)
Ogre::Win32PBuffer::~Win32PBuffer ( )

Member Function Documentation

void Ogre::Win32PBuffer::createPBuffer ( )
protected
void Ogre::Win32PBuffer::destroyPBuffer ( )
protected
virtual GLContext* Ogre::Win32PBuffer::getContext ( )
virtual

Get the GL context that needs to be active to render to this PBuffer.

Implements Ogre::GLPBuffer.

Definition at line 43 of file OgreWin32RenderTexture.h.

PixelComponentType Ogre::GLPBuffer::getFormat ( )
inherited

Definition at line 48 of file OgreGLPBuffer.h.

uint32 Ogre::GLPBuffer::getHeight ( void  )
inherited

Definition at line 50 of file OgreGLPBuffer.h.

static PixelComponentType Ogre::GLPBuffer::getPixelComponentType ( PixelFormat  fmt)
staticinherited

Get PBuffer component format for an OGRE pixel format.

uint32 Ogre::GLPBuffer::getWidth ( void  )
inherited

Definition at line 49 of file OgreGLPBuffer.h.

Member Data Documentation

Win32Context* Ogre::Win32PBuffer::mContext
protected

Definition at line 51 of file OgreWin32RenderTexture.h.

PixelComponentType Ogre::GLPBuffer::mFormat
protectedinherited

Definition at line 56 of file OgreGLPBuffer.h.

HGLRC Ogre::Win32PBuffer::mGlrc
protected

Definition at line 49 of file OgreWin32RenderTexture.h.

HDC Ogre::Win32PBuffer::mHDC
protected

Definition at line 48 of file OgreWin32RenderTexture.h.

uint32 Ogre::GLPBuffer::mHeight
protectedinherited

Definition at line 57 of file OgreGLPBuffer.h.

HPBUFFERARB Ogre::Win32PBuffer::mPBuffer
protected

Definition at line 50 of file OgreWin32RenderTexture.h.

uint32 Ogre::GLPBuffer::mWidth
protectedinherited

Definition at line 57 of file OgreGLPBuffer.h.


The documentation for this class was generated from the following file:

Copyright © 2012 Torus Knot Software Ltd
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Tue Mar 18 2014 19:16:09