Luanti 5.15.0-dev
 
Loading...
Searching...
No Matches
ShadowUniformSetterFactory Class Reference

#include <shadowsshadercallbacks.h>

+ Inheritance diagram for ShadowUniformSetterFactory:
+ Collaboration diagram for ShadowUniformSetterFactory:

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 * ShadowUniformSetterFactory::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.

References str_starts_with().

+ Here is the call graph for this function:

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