OGRE-Next  4.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 ( )
override

Member Function Documentation

◆ create()

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

Create an instance of MetalProgram.

Implements Ogre::HighLevelGpuProgramFactory.

◆ destroy()

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

◆ getLanguage()

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

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: