OGRE  13.4
Object-Oriented Graphics Rendering Engine
Ogre::CreateCallbackWrapper Struct Reference

#include <OgreGLGpuProgramManager.h>

+ Inheritance diagram for Ogre::CreateCallbackWrapper:

Public Member Functions

 CreateCallbackWrapper (const String &lang, CreateGpuProgramCallback cb)
GpuProgramcreate (ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader)
const StringgetLanguage (void) const override
 Get the name of the language this factory creates programs for. More...
- Public Member Functions inherited from Ogre::GpuProgramFactory
virtual ~GpuProgramFactory ()
virtual void destroy (GpuProgram *prog)

Public Attributes

CreateGpuProgramCallback callback
String language

Constructor & Destructor Documentation

◆ CreateCallbackWrapper()

Ogre::CreateCallbackWrapper::CreateCallbackWrapper ( const String lang,
CreateGpuProgramCallback  cb 

Member Function Documentation

◆ getLanguage()

const String& Ogre::CreateCallbackWrapper::getLanguage ( void  ) const

Get the name of the language this factory creates programs for.

Implements Ogre::GpuProgramFactory.

References language.

◆ create()

GpuProgram* Ogre::CreateCallbackWrapper::create ( ResourceManager creator,
const String name,
ResourceHandle  handle,
const String group,
bool  isManual,
ManualResourceLoader loader 

Member Data Documentation

◆ language

String Ogre::CreateCallbackWrapper::language

Referenced by getLanguage().

◆ callback

CreateGpuProgramCallback Ogre::CreateCallbackWrapper::callback

Referenced by create().

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