Files
fan/src/material.hpp
2026-09-27 01:33:35 +02:00

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_