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

#include <OgreGLXRenderTexture.h>

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

Public Member Functions

 GLXPBuffer (GLXGLSupport *glsupport, PixelComponentType format, size_t width, size_t height)
 
 ~GLXPBuffer ()
 
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 Attributes

GLXContextmContext
 
PixelComponentType mFormat
 
GLXGLSupportmGLSupport
 
uint32 mHeight
 
uint32 mWidth
 

Detailed Description

Definition at line 39 of file OgreGLXRenderTexture.h.

Constructor & Destructor Documentation

◆ GLXPBuffer()

Ogre::GLXPBuffer::GLXPBuffer ( GLXGLSupport glsupport,
PixelComponentType  format,
size_t  width,
size_t  height 
)

◆ ~GLXPBuffer()

Ogre::GLXPBuffer::~GLXPBuffer ( )

Member Function Documentation

◆ getContext()

virtual GLContext* Ogre::GLXPBuffer::getContext ( )
virtual

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

Implements Ogre::GLPBuffer.

◆ getFormat()

PixelComponentType Ogre::GLPBuffer::getFormat ( )
inherited

Definition at line 48 of file OgreGLPBuffer.h.

◆ getHeight()

uint32 Ogre::GLPBuffer::getHeight ( )
inherited

Definition at line 50 of file OgreGLPBuffer.h.

◆ getPixelComponentType()

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

Get PBuffer component format for an OGRE pixel format.

◆ getWidth()

uint32 Ogre::GLPBuffer::getWidth ( )
inherited

Definition at line 49 of file OgreGLPBuffer.h.

Member Data Documentation

◆ mContext

GLXContext* Ogre::GLXPBuffer::mContext
protected

Definition at line 48 of file OgreGLXRenderTexture.h.

◆ mFormat

PixelComponentType Ogre::GLPBuffer::mFormat
protectedinherited

Definition at line 56 of file OgreGLPBuffer.h.

◆ mGLSupport

GLXGLSupport* Ogre::GLXPBuffer::mGLSupport
protected

Definition at line 49 of file OgreGLXRenderTexture.h.

◆ mHeight

uint32 Ogre::GLPBuffer::mHeight
protectedinherited

Definition at line 57 of file OgreGLPBuffer.h.

◆ mWidth

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 Apr 13 2021 08:53:15