3#include "Graphics/global.h"
4#include "Graphics/material.h"
14 std::shared_ptr<GraphicsEngine::Material>
material;
16 operator std::shared_ptr<GraphicsEngine::Material> &() {
return material; }
17 operator const std::shared_ptr<GraphicsEngine::Material> &()
const {
return material; }
31 Material(glm::vec3 color,
float shininess = 1.f);
46 Material(std::shared_ptr<GraphicsEngine::Texture> texture,
float shininess = 1.f);
54 static uint64_t the_id;
Wrapper around the GraphisEngine's material.
Definition: material.h:13
static auto id_value() -> uint64_t &
Used for assigning new material name in the graphics engine.
Definition: material.h:52
Material()
Construct a new Material object.
Definition: material.cpp:8
std::shared_ptr< GraphicsEngine::Material > material
Definition: material.h:14