Template Class material_parameter

Inheritance Relationships

Base Type

Class Documentation

template<typename T>
class legion::rendering::material_parameter : public legion::rendering::material_parameter_base

Uniform parameter of a material.

Template Parameters
  • T: Variable type of the parameter

Public Functions

inline material_parameter(const std::string &name, GLint location)
inline void set_value(const T &value)
inline T get_value() const

Friends

friend struct material