OGRE  2.0
Object-Oriented Graphics Rendering Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Ogre::OSXPBuffer Class Reference

#include <OgreOSXRenderTexture.h>

+ Inheritance diagram for Ogre::OSXPBuffer:
+ Collaboration diagram for Ogre::OSXPBuffer:

Public Member Functions

 OSXPBuffer (PixelComponentType format, uint32 width, uint32 height)
 
 ~OSXPBuffer ()
 
virtual GLContextgetContext ()
 Get the GL context that needs to be active to render to this PBuffer. More...
 
PixelComponentType getFormat ()
 
uint32 getHeight ()
 
uint32 getWidth ()
 
void operator delete (void *ptr)
 
void operator delete (void *ptr, void *)
 
void operator delete (void *ptr, const char *, int, const char *)
 
void operator delete[] (void *ptr)
 
void operator delete[] (void *ptr, const char *, int, const char *)
 
void * operator new (size_t sz, const char *file, int line, const char *func)
 operator new, with debug line info More...
 
void * operator new (size_t sz)
 
void * operator new (size_t sz, void *ptr)
 placement operator new More...
 
void * operator new[] (size_t sz, const char *file, int line, const char *func)
 array operator new, with debug line info More...
 
void * operator new[] (size_t sz)
 

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

PixelComponentType mFormat
 
uint32 mHeight
 
uint32 mWidth
 

Private Attributes

AGLContext mAGLContext
 
OSXCarbonContextmContext
 
AGLPbuffer mPBuffer
 

Detailed Description

Definition at line 38 of file OgreOSXRenderTexture.h.

Constructor & Destructor Documentation

Ogre::OSXPBuffer::OSXPBuffer ( PixelComponentType  format,
uint32  width,
uint32  height 
)
Ogre::OSXPBuffer::~OSXPBuffer ( )

Member Function Documentation

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

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

Implements Ogre::GLPBuffer.

PixelComponentType Ogre::GLPBuffer::getFormat ( )
inlineinherited

Definition at line 48 of file OgreGLPBuffer.h.

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

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  )
inlineinherited

Definition at line 49 of file OgreGLPBuffer.h.

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete ( void *  ptr)
inlineinherited

Definition at line 96 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete ( void *  ptr,
void *   
)
inlineinherited

Definition at line 102 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete ( void *  ptr,
const char *  ,
int  ,
const char *   
)
inlineinherited

Definition at line 108 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete[] ( void *  ptr)
inlineinherited

Definition at line 113 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete[] ( void *  ptr,
const char *  ,
int  ,
const char *   
)
inlineinherited

Definition at line 119 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new ( size_t  sz,
const char *  file,
int  line,
const char *  func 
)
inlineinherited

operator new, with debug line info

Definition at line 68 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new ( size_t  sz)
inlineinherited

Definition at line 73 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new ( size_t  sz,
void *  ptr 
)
inlineinherited

placement operator new

Definition at line 79 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new[] ( size_t  sz,
const char *  file,
int  line,
const char *  func 
)
inlineinherited

array operator new, with debug line info

Definition at line 86 of file OgreMemoryAllocatedObject.h.

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new[] ( size_t  sz)
inlineinherited

Definition at line 91 of file OgreMemoryAllocatedObject.h.

Member Data Documentation

AGLContext Ogre::OSXPBuffer::mAGLContext
private

Definition at line 52 of file OgreOSXRenderTexture.h.

OSXCarbonContext* Ogre::OSXPBuffer::mContext
private

Definition at line 53 of file OgreOSXRenderTexture.h.

PixelComponentType Ogre::GLPBuffer::mFormat
protectedinherited

Definition at line 56 of file OgreGLPBuffer.h.

uint32 Ogre::GLPBuffer::mHeight
protectedinherited

Definition at line 57 of file OgreGLPBuffer.h.

AGLPbuffer Ogre::OSXPBuffer::mPBuffer
private

Definition at line 51 of file OgreOSXRenderTexture.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: