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

Component to store mesh ogl::Texture data. More...

#include <Component.hpp>

Inheritance diagram for TextureComponent:
Collaboration diagram for TextureComponent:

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

Detailed Description

Component to store mesh ogl::Texture data.

See also
ogl::Texture

Constructor & Destructor Documentation

◆ TextureComponent()

TextureComponent::TextureComponent ( std::string path)
inline

Instance a Component with the given path.

Parameters
pathtexture's file path

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