OGRE  13.6
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) override
 
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)
 

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
overridevirtual

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

Implements Ogre::GpuProgramFactory.

◆ create()

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

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