OGRE: Ogre::CgProgramFactory Class Reference

| OGRE 14.5 Object-Oriented Graphics Rendering Engine

Loading...
Searching...
No Matches
Ogre::CgProgramFactory Class Reference
Plugins » CgProgramManager

Factory class for Cg programs. More...

`#include <OgreCgProgramFactory.h>`

Inheritance diagram for Ogre::CgProgramFactory:
[legend]

## Public Member Functions
| CgProgramFactory ()
| ~CgProgramFactory ()
GpuProgram * | create (ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader) override
const String & | getLanguage (void) const override
| Get the name of the language this factory creates programs for.
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

Implements Ogre::GpuProgramFactory.

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

- OgreCgProgramFactory.h