class
#include <OE/Graphics/3D/Material.hpp>
Material
Contents
Public static functions
- static auto MapTypeToString(MaterialMapType mapType) -> std::string
Constructors, destructors, conversion operators
- Material(ManagedShader* shader)
Public functions
- auto use(ShaderDefinitions definitions = {}) -> Shader*
- void setMap(MaterialMapType mapType, Texture* texture)
-
void setBaseColor(Math::
Color4f& color) - void setMetallic(float metallic)
- void setRoughness(float roughness)
-
auto getBaseColor() -> Math::
Color4f - auto getMetallic() -> float
- auto getRoughness() -> float