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

Method SetDiffuseColor

Source/Engine/StratusMaterial.cpp:81–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79 }
80
81 void Material::SetDiffuseColor(const glm::vec4& diffuse) {
82 MarkChanged();
83 auto ul = LockWrite_();
84 diffuseColor_ = diffuse;
85 }
86
87 void Material::SetEmissiveColor(const glm::vec3& ambient) {
88 MarkChanged();

Callers 2

InitCubeFunction · 0.80
ProcessMaterialFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected