Nigel Barink
d019155d10
* Added a basic material abstraction * Started implementation of RenderTarget (such as render textures)
19 lines
227 B
C++
19 lines
227 B
C++
#pragma once
|
|
#include <glm/glm.hpp>
|
|
#include <string>
|
|
#include "Shader.h"
|
|
|
|
class Material {
|
|
public:
|
|
Material(const Shader& shader);
|
|
|
|
void Apply();
|
|
|
|
glm::vec3 Color;
|
|
|
|
|
|
private:
|
|
const Shader& shader;
|
|
|
|
|
|
}; |