| 4 | namespace 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); |
nothing calls this directly
no test coverage detected