Class material_parameter_base¶
Defined in File material.hpp
Inheritance Relationships¶
Derived Type¶
public legion::rendering::material_parameter< T >
(Template Class material_parameter)
Class Documentation¶
-
class
legion::rendering
::
material_parameter_base
¶ material parameter common base
Subclassed by legion::rendering::material_parameter< T >
Public Functions
-
inline id_type
type
()¶ Get the type hash of the variable type of this parameter.
-
inline std::string
get_name
() const¶ Get the name of the parameter.
-
virtual void
apply
(shader_handle &shader) = 0¶
Protected Functions
-
inline
material_parameter_base
(const std::string &name, GLint location, id_type typeId)¶
Friends
- friend struct material
-
inline id_type