OGRE  1.7
Object-Oriented Graphics Rendering Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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, size_t width, size_t height)
 
 ~OSXPBuffer ()
 
virtual GLContextgetContext ()
 Get the GL context that needs to be active to render to this PBuffer. More...
 
PixelComponentType getFormat ()
 
size_t getHeight ()
 
size_t 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
 
size_t mHeight
 
size_t 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,
size_t  width,
size_t  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.

size_t 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.

size_t 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 95 of file OgreMemoryAllocatedObject.h.

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

Definition at line 101 of file OgreMemoryAllocatedObject.h.

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

Definition at line 107 of file OgreMemoryAllocatedObject.h.

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

Definition at line 112 of file OgreMemoryAllocatedObject.h.

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

Definition at line 118 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 67 of file OgreMemoryAllocatedObject.h.

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

Definition at line 72 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 78 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 85 of file OgreMemoryAllocatedObject.h.

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

Definition at line 90 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.

size_t 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.

size_t Ogre::GLPBuffer::mWidth
protectedinherited

Definition at line 57 of file OgreGLPBuffer.h.


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