mercator  0.4.0
A terrain generation library for the Worldforge system.
Mercator::ShaderFactory< T > Class Template Reference

Factory template used to create ordinary shader objects. More...

#include <ShaderFactory.h>

Inheritance diagram for Mercator::ShaderFactory< T >:
Collaboration diagram for Mercator::ShaderFactory< T >:

Public Member Functions

std::unique_ptr< ShadernewShader (const Shader::Parameters &) const override
 Create a new Shader instance. More...
 

Detailed Description

template<class T>
class Mercator::ShaderFactory< T >

Factory template used to create ordinary shader objects.

Definition at line 28 of file ShaderFactory.h.

Member Function Documentation

template<class T >
std::unique_ptr< Shader > Mercator::ShaderFactory< T >::newShader ( const Shader::Parameters ) const
overridevirtual

Create a new Shader instance.

Returns
a pointer to the new Shader.

Implements Mercator::ShaderKit.

Definition at line 19 of file ShaderFactory_impl.h.


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