23 lines
320 B
C++
23 lines
320 B
C++
#ifndef FAN_MATERIAL_HPP_
|
|
#define FAN_MATERIAL_HPP_
|
|
|
|
#include "shader.hpp"
|
|
#include "texture.hpp"
|
|
|
|
namespace Fan
|
|
{
|
|
|
|
struct Material
|
|
{
|
|
Rc<Shader> shader;
|
|
Rc<Texture> diffuse_map;
|
|
Rc<Texture> specular_map;
|
|
float shininess{32.0f};
|
|
|
|
void bind() const;
|
|
};
|
|
|
|
} // namespace Fan
|
|
|
|
#endif // FAN_MATERIAL_HPP_
|