|
sculpto
|
#include <material.h>
Public Member Functions | |
| material (shared< shader_program > Shader) | |
| virtual void | Bind () const |
| virtual void | Unbind () const |
Static Public Member Functions | |
| static shared< material > | Create (shared< shader_program > Shader) |
Public Attributes | |
| shared< shader_program > | Shader {} |
Mesh material class.
Definition at line 17 of file material.h.
|
inline |
| Shader | - material shader to use while mesh with this material rendering. |
Definition at line 27 of file material.h.
|
inlinevirtual |
| None. |
Reimplemented in scl::material_phong, and scl::material_single_color.
Definition at line 36 of file material.h.
|
inlinestatic |
| Shader | - material shader to use while mesh with this material rendering. |
Definition at line 57 of file material.h.
|
inlinevirtual |
| Slot | - texture slot to unbind it from. |
Reimplemented in scl::material_phong, and scl::material_single_color.
Definition at line 47 of file material.h.
| shared<shader_program> scl::material::Shader {} |
Material data.
Definition at line 20 of file material.h.