Template Struct uniform< texture_handle >¶
Defined in File shader.hpp
Inheritance Relationships¶
Base Type¶
public legion::rendering::shader_parameter_base
(Class shader_parameter_base)
Struct Documentation¶
-
template<>
structlegion::rendering
::
uniform
<texture_handle> : public legion::rendering::shader_parameter_base¶ Public Functions
-
inline
uniform
(id_type shaderId, std::string_view name, GLenum type, GLint location, uint textureUnit)¶
-
inline
uniform
(std::nullptr_t t)¶
-
inline void
set_value
(const texture_handle &value)¶ Set the value of the uniform.
Public Members
-
uint
m_textureUnit
¶
-
inline