OGRE-Next  3.0.0unstable
Object-Oriented Graphics Rendering Engine
Ogre::MetalProgramFactory Class Referencefinal

Factory class for Metal programs. More...

#include <OgreMetalProgramFactory.h>

+ Inheritance diagram for Ogre::MetalProgramFactory:

Public Member Functions

 MetalProgramFactory (MetalDevice *device)
 ~MetalProgramFactory () override
HighLevelGpuProgramcreate (ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader) override
 Create an instance of MetalProgram. More...
void destroy (HighLevelGpuProgram *prog) override
const StringgetLanguage () const override
 Get the name of the language this factory creates programs for. More...
- Public Member Functions inherited from Ogre::HighLevelGpuProgramFactory
 HighLevelGpuProgramFactory ()
virtual ~HighLevelGpuProgramFactory ()

Detailed Description

Factory class for Metal programs.

Constructor & Destructor Documentation

◆ MetalProgramFactory()

Ogre::MetalProgramFactory::MetalProgramFactory ( MetalDevice device)

◆ ~MetalProgramFactory()

Ogre::MetalProgramFactory::~MetalProgramFactory ( )

Member Function Documentation

◆ create()

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

Create an instance of MetalProgram.

Implements Ogre::HighLevelGpuProgramFactory.

◆ destroy()

void Ogre::MetalProgramFactory::destroy ( HighLevelGpuProgram prog)

◆ getLanguage()

const String& Ogre::MetalProgramFactory::getLanguage ( ) const

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

Implements Ogre::HighLevelGpuProgramFactory.

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