![]() |
Rendering Engine 0.2.9
Modular Graphics Rendering Engine | v0.2.9
|
Contains the raw buffer data and layout metadata of packed material parameters. More...
#include <material_types.hpp>
Public Member Functions | |
| void | SetMaterialFloat (const std::string &name, float value) |
| void | SetMaterialVec2 (const std::string &name, const glm::vec2 &value) |
| void | SetMaterialVec3 (const std::string &name, const glm::vec3 &value) |
| void | SetMaterialVec4 (const std::string &name, const glm::vec4 &value) |
Public Attributes | |
| std::vector< uint8_t > | buffer |
| std::vector< MaterialParameterLayoutEntry > | layout |
Contains the raw buffer data and layout metadata of packed material parameters.
Definition at line 79 of file material_types.hpp.
|
inline |
Definition at line 84 of file material_types.hpp.
|
inline |
Definition at line 101 of file material_types.hpp.
|
inline |
Definition at line 118 of file material_types.hpp.
|
inline |
Definition at line 135 of file material_types.hpp.
| std::vector<uint8_t> rendering_engine::PackedMaterialData::buffer |
Definition at line 81 of file material_types.hpp.
| std::vector<MaterialParameterLayoutEntry> rendering_engine::PackedMaterialData::layout |
Definition at line 82 of file material_types.hpp.