OGRE  13.4
Object-Oriented Graphics Rendering Engine
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. More...
const StringgetLanguage (void) const
 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 Metal programs.

Constructor & Destructor Documentation

◆ MetalProgramFactory()

Ogre::MetalProgramFactory::MetalProgramFactory ( MetalDevice device)

◆ ~MetalProgramFactory()

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

Member Function Documentation

◆ getLanguage()

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

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

Implements Ogre::GpuProgramFactory.

◆ create()

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

Create an instance of MetalProgram.

Implements Ogre::GpuProgramFactory.

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