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

Method BasicMaterial

ZEngine/src/BasicMaterial.cpp:6–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4namespace ZEngine::Rendering::Materials {
5
6 BasicMaterial::BasicMaterial() : ShaderMaterial(Shaders::ShaderBuiltInType::BASIC) {
7 m_material_name = typeid(*this).name();
8 m_texture.reset(Textures::CreateTexture(1, 1));
9 }
10
11 void BasicMaterial::Apply(Shaders::Shader* const shader) {
12 ShaderMaterial::Apply(shader);

Callers

nothing calls this directly

Calls 1

CreateTextureFunction · 0.85

Tested by

no test coverage detected