OGRE 1.12.10
Object-Oriented Graphics Rendering Engine
Loading...
Searching...
No Matches
Ogre::MetalProgramFactory Class Reference

Factory class for Metal programs. More...

#include <OgreMetalProgramFactory.h>

Inheritance diagram for Ogre::MetalProgramFactory:

Public Member Functions

 MetalProgramFactory (MetalDevice *device)
virtual ~MetalProgramFactory (void)
GpuProgramcreate (ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader)
 Create an instance of MetalProgram.
void destroy (GpuProgram *prog)
const StringgetLanguage (void) const
 Get the name of the language this factory creates programs for.
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()

virtual Ogre::MetalProgramFactory::~MetalProgramFactory ( void )
virtual

Member Function Documentation

◆ getLanguage()

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

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

Implements Ogre::HighLevelGpuProgramFactory.

◆ create()

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

Create an instance of MetalProgram.

Implements Ogre::HighLevelGpuProgramFactory.

◆ destroy()

void Ogre::MetalProgramFactory::destroy ( GpuProgram * prog)
virtual

Reimplemented from Ogre::HighLevelGpuProgramFactory.


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