MCPcopy Create free account
hub / github.com/JeanPhilippeKernel/RendererEngine / SetMaterial

Method SetMaterial

ZEngine/src/Mesh.cpp:38–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36 }
37
38 void Mesh::SetMaterial(Materials::ShaderMaterial* const material) {
39 m_material.reset(material);
40 }
41
42 void Mesh::SetMaterial(Ref<Materials::ShaderMaterial>& material) {
43 m_material = std::move(material);

Callers 3

CreateQuadMethod · 0.80
CreateSquareMethod · 0.80
CreateCubeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected