Class material_parameter_base

Inheritance Relationships

Derived Type

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)

Protected Attributes

std::string m_name
id_type m_id
id_type m_typeId
GLint m_location

Friends

friend struct material