Class shader_parameter_base¶
Defined in File shader.hpp
Inheritance Relationships¶
Derived Types¶
public legion::rendering::attribute
(Class attribute)public legion::rendering::uniform< T >
(Template Class uniform)public legion::rendering::uniform< texture_handle >
(Template Struct uniform< texture_handle >)
Class Documentation¶
-
class
legion::rendering
::
shader_parameter_base
¶ Common base of all shader parameter types.
Subclassed by legion::rendering::attribute, legion::rendering::uniform< T >, legion::rendering::uniform< texture_handle >
Public Functions
-
inline virtual bool
is_valid
() const¶ Returns whether the parameter is referencing a valid shader and parameter location.
-
inline virtual GLenum
get_type
() const¶ Returns the GLenum of the data type of the parameter.
-
inline virtual std::string
get_name
() const¶ Returns the name of the shader parameter.
-
inline virtual GLint
get_location
() const¶ Returns the location of the shader parameter.
-
inline bool
operator==
(const shader_parameter_base &other)¶
-
inline bool
operator!=
(const shader_parameter_base &other)¶
-
inline virtual bool