![]() |
raylib-cpp
C++ object-oriented wrapper library for raylib.
|
Material type (generic) More...
Public Member Functions | |
| Material () | |
| Load default material (Supports: DIFFUSE, SPECULAR, NORMAL maps) | |
| Material (const ::Material &material) | |
| ::MaterialMap * | GetMaps () const |
| Retrieves the maps value for the object. More... | |
| ::Shader | GetShader () const |
| Retrieves the shader value for the object. More... | |
| Material & | operator= (const ::Material &material) |
| void | SetMaps (::MaterialMap *value) |
| Sets the maps value for the object. More... | |
| void | SetShader (::Shader value) |
| Sets the shader value for the object. More... | |
| Material & | SetTexture (int mapType, const ::Texture2D &texture) |
| Set texture for a material map type (MAP_DIFFUSE, MAP_SPECULAR...) | |
| void | Unload () |
| Unload material from memory. | |
Static Public Member Functions | |
| static std::vector< Material > | Load (const std::string &fileName) |
| Load materials from model file. | |
Material type (generic)
Definition at line 14 of file Material.hpp.
|
inline |
Retrieves the maps value for the object.
Definition at line 41 of file Material.hpp.
|
inline |
Retrieves the shader value for the object.
Definition at line 40 of file Material.hpp.
|
inline |
Sets the maps value for the object.
| value | The value of which to set maps to. |
Definition at line 41 of file Material.hpp.
|
inline |
Sets the shader value for the object.
| value | The value of which to set shader to. |
Definition at line 40 of file Material.hpp.
1.8.17