YoggieEngine/BarinkEngine/graphics/Material.cpp

10 lines
182 B
C++
Raw Permalink Normal View History

#include "../Include/Graphics/Material.h"
Material::Material(const Shader& shader) :
shader(shader) {
}
void Material::Apply() {
shader.setUniformVec3("Color", Color);
}