OGRE  1.10.12
Object-Oriented Graphics Rendering Engine
Ogre::CgProgramFactory Class Reference

Factory class for Cg programs. More...

#include <OgreCgProgramFactory.h>

+ Inheritance diagram for Ogre::CgProgramFactory:

Public Member Functions

 CgProgramFactory ()
 
 ~CgProgramFactory ()
 
HighLevelGpuProgramcreate (ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader)
 
void destroy (HighLevelGpuProgram *prog)
 
const StringgetLanguage (void) const
 Get the name of the language this factory creates programs for. More...
 

Detailed Description

Factory class for Cg programs.

Constructor & Destructor Documentation

◆ CgProgramFactory()

Ogre::CgProgramFactory::CgProgramFactory ( )

◆ ~CgProgramFactory()

Ogre::CgProgramFactory::~CgProgramFactory ( )

Member Function Documentation

◆ getLanguage()

const String& Ogre::CgProgramFactory::getLanguage ( void  ) const
virtual

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

Implements Ogre::HighLevelGpuProgramFactory.

◆ create()

HighLevelGpuProgram* Ogre::CgProgramFactory::create ( ResourceManager creator,
const String name,
ResourceHandle  handle,
const String group,
bool  isManual,
ManualResourceLoader loader 
)
virtual

◆ destroy()

void Ogre::CgProgramFactory::destroy ( HighLevelGpuProgram prog)
virtual

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