25 uint32_t
vao()
const {
57 Skybox(uint32_t
vao, uint32_t texture_id, std::filesystem::path path, std::string name)
61 ,
m_name(std::move(name)) {
Manages app resources: Model, Texture, Shader, and Skybox.
Definition ResourcesController.hpp:21
Represents a skybox object within the OpenGL context.
Definition Skybox.hpp:17
void destroy()
Destroys the skybox object in the OpenGL context.
Skybox(uint32_t vao, uint32_t texture_id, std::filesystem::path path, std::string name)
Constructs a Skybox object.
Definition Skybox.hpp:57
uint32_t m_vao
Definition Skybox.hpp:45
uint32_t texture() const
Returns the OpenGL ID of the skybox texture.
Definition Skybox.hpp:33
uint32_t m_texture_id
Definition Skybox.hpp:46
uint32_t vao() const
Returns the OpenGL ID of the skybox.
Definition Skybox.hpp:25
std::filesystem::path m_path
Definition Skybox.hpp:47
std::string m_name
Definition Skybox.hpp:48
Definition GraphicsController.hpp:14