CG-Project2
|
Component to store mesh ogl::Texture data. More...
#include <Component.hpp>
Public Member Functions | |
TextureComponent () | |
Instance an empty Component. | |
TextureComponent (std::string path) | |
Instance a Component with the given path. |
Public Attributes | |
ogl::Texture | texture {} |
texture object | |
std::string | path {} |
texture file path |
Component to store mesh ogl::Texture data.
|
inline |
Instance a Component with the given path.
path | texture's file path |