Luanti 5.16.0-dev
Loading...
Searching...
No Matches
MainShaderUniformSetterFactory Class Reference
Inheritance diagram for MainShaderUniformSetterFactory:
Collaboration diagram for MainShaderUniformSetterFactory:

Public Member Functions

virtual IShaderUniformSettercreate (const std::string &name)
 Called to create an uniform setter for a specific shader.
Public Member Functions inherited from IShaderUniformSetterFactory
virtual ~IShaderUniformSetterFactory ()=default

Member Function Documentation

◆ create()

virtual IShaderUniformSetter * MainShaderUniformSetterFactory::create ( const std::string & name)
inlinevirtual

Called to create an uniform setter for a specific shader.

Parameters
namename of the shader
Returns
new uniform setter (or nullptr). caller takes ownership.

Implements IShaderUniformSetterFactory.


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