Template Struct uniform< texture_handle >

Inheritance Relationships

Base Type

Struct Documentation

template<>
struct legion::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