OGRE  1.12.9
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 ()
 
GpuProgramcreate (ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader)
 
const StringgetLanguage (void) const
 Get the name of the language this factory creates programs for. More...
 
- Public Member Functions inherited from Ogre::HighLevelGpuProgramFactory
 HighLevelGpuProgramFactory ()
 
virtual ~HighLevelGpuProgramFactory ()
 
virtual void destroy (GpuProgram *prog)
 

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

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

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