Represents a skybox object within the OpenGL context.
More...
#include <Skybox.hpp>
|
| uint32_t | vao () const |
| | Returns the OpenGL ID of the skybox. More...
|
| |
| uint32_t | texture () const |
| | Returns the OpenGL ID of the skybox texture. More...
|
| |
| void | destroy () |
| | Destroys the skybox object in the OpenGL context. More...
|
| |
|
| | Skybox ()=default |
| |
| | Skybox (uint32_t vao, uint32_t texture_id, std::filesystem::path path, std::string name) |
| | Constructs a Skybox object. More...
|
| |
Represents a skybox object within the OpenGL context.
◆ Skybox() [1/2]
| engine::resources::Skybox::Skybox |
( |
| ) |
|
|
privatedefault |
◆ Skybox() [2/2]
| engine::resources::Skybox::Skybox |
( |
uint32_t |
vao, |
|
|
uint32_t |
texture_id, |
|
|
std::filesystem::path |
path, |
|
|
std::string |
name |
|
) |
| |
|
inlineprivate |
Constructs a Skybox object.
- Parameters
-
| vao | The OpenGL ID of the skybox. |
| texture_id | The OpenGL ID of the skybox texture. |
| path | The path to the skybox texture. |
| name | The name of the skybox. |
◆ vao()
| uint32_t engine::resources::Skybox::vao |
( |
| ) |
const |
|
inline |
Returns the OpenGL ID of the skybox.
- Returns
- The OpenGL ID of the skybox.
◆ texture()
| uint32_t engine::resources::Skybox::texture |
( |
| ) |
const |
|
inline |
Returns the OpenGL ID of the skybox texture.
- Returns
- The OpenGL ID of the skybox texture.
◆ destroy()
| void engine::resources::Skybox::destroy |
( |
| ) |
|
Destroys the skybox object in the OpenGL context.
◆ ResourcesController
◆ m_vao
| uint32_t engine::resources::Skybox::m_vao {0} |
|
private |
◆ m_texture_id
| uint32_t engine::resources::Skybox::m_texture_id {0} |
|
private |
◆ m_path
| std::filesystem::path engine::resources::Skybox::m_path {} |
|
private |
◆ m_name
| std::string engine::resources::Skybox::m_name {} |
|
private |
The documentation for this class was generated from the following file: