|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
Adapter for a function that selects which fragment shader to use for a given shader configuration. More...
#include <GREM/graphics_3d/Model3D.hpp>
Public Member Functions | |
| template<typename F> requires (constructible_from<Function<SharedPointer<FragmentShaderImplementation>(const ShaderConfiguration& shaderConfiguration)>, F>) | |
| GREM_ALWAYS_INLINE | FragmentShaderSelectorBase (F &&function) |
| GREM_ALWAYS_INLINE | FragmentShaderSelectorBase (SharedPointer< FragmentShaderImplementation > fragmentShaderHandle) |
| template<typename FS> requires (requires { { fragmentShader.lock() } -> convertible_to<SharedPointer<FragmentShaderImplementation>>; }) | |
| GREM_ALWAYS_INLINE | FragmentShaderSelectorBase (const FS &fragmentShader) |
| GREM_ALWAYS_INLINE SharedPointer< FragmentShaderImplementation > | operator() (const ShaderConfiguration &shaderConfiguration) const |
Adapter for a function that selects which fragment shader to use for a given shader configuration.
|
inline |
|
inline |
|
inline |
|
inlinenodiscard |