Crazy Eddie's GUI System  ${CEGUI_VERSION}
CEGUI::OGLTextureTargetFactory Class Reference

Inherits CEGUI::AllocatedObject< OGLTextureTargetFactory >, and CEGUI::AllocatedObject< OGLTextureTargetFactory >.

Inherited by CEGUI::OGLTemplateTargetFactory< T >, CEGUI::OGLTemplateTargetFactory< T >, and CEGUI::OGLTemplateTargetFactory< T >.

+ Collaboration diagram for CEGUI::OGLTextureTargetFactory:

Public Member Functions

virtual TextureTargetcreate (OpenGLRendererBase &) const
 
virtual TextureTargetcreate (OpenGLESRenderer &) const
 
virtual void destory (TextureTarget *target) const
 
virtual TextureTargetcreate (OpenGLRendererBase &) const
 

Detailed Description

This class allows us to implement a factory template for creating and destroying any type of TextureTarget. The code that detects the computer's abilities will generate an appropriate factory for a TextureTarget based on what the host system can provide - or use the default 'null' factory if no suitable TextureTargets are available.