2022-06-04 16:26:58 +00:00
|
|
|
#pragma once
|
|
|
|
#include <glm/glm.hpp>
|
|
|
|
#include <string>
|
|
|
|
#include "Shader.h"
|
|
|
|
|
|
|
|
class Material {
|
|
|
|
public:
|
|
|
|
Material(const Shader& shader);
|
|
|
|
|
2022-10-08 13:34:02 +00:00
|
|
|
void Apply()const;
|
2022-06-04 16:26:58 +00:00
|
|
|
|
|
|
|
glm::vec3 Color;
|
|
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
const Shader& shader;
|
|
|
|
|
|
|
|
|
|
|
|
};
|