CG-Project2
Loading...
Searching...
No Matches
SkyboxComponent Class Reference

Component to store SkyBox texture data. More...

#include <Component.hpp>

Inheritance diagram for SkyboxComponent:
Collaboration diagram for SkyboxComponent:

Public Member Functions

 SkyboxComponent (const unsigned int &textureId)
 Instances basic Component and stores the texture id of the skybox.

Public Attributes

unsigned int textureId
 skybox texture id

Detailed Description

Component to store SkyBox texture data.

It's only purpos is to keep track in the ECS of the Skybox texture id. It coul be implemented some methods to change the skybox texture by changing the texture id and clean the previous one.

See also
ogl::Texture

Constructor & Destructor Documentation

◆ SkyboxComponent()

SkyboxComponent::SkyboxComponent ( const unsigned int & textureId)
inline

Instances basic Component and stores the texture id of the skybox.

Parameters
textureIdthe skybox texture id

The documentation for this class was generated from the following file: