MCPcopy Create free account
hub / github.com/KTStephano/StratusGFX / GetDiffuseColor

Method GetDiffuseColor

Source/Engine/StratusMaterial.cpp:56–59  ·  view source on GitHub ↗

Get and set material properties

Source from the content-addressed store, hash-verified

54
55 // Get and set material properties
56 glm::vec4 Material::GetDiffuseColor() const {
57 auto sl = LockRead_();
58 return diffuseColor_;
59 }
60
61 glm::vec3 Material::GetEmissiveColor() const {
62 auto sl = LockRead_();

Callers 1

Calls 1

LockRead_Function · 0.70

Tested by

no test coverage detected