Chronos 0.0
A advanced 2D rendering and animation system
Loading...
Searching...
No Matches
Chronos::Manager::TextureDetails Struct Reference

Holds some details about the texture. More...

#include <chronos.hpp>

Public Attributes

std::string textureName
 
std::string texturePath
 
int textureNo
 
int width
 
int height
 

Detailed Description

Holds some details about the texture.

When the details of texture is requested, this struct is returned.

Note:

The textureName must be unique. If the textureName is already present, then the texture will not be added.

Parameters
textureNameThe name of the texture referenced by the editor and can be used for identifying the texture.
texturePathThe path of the texture
textureNoThe reference number of the texture. This is used for referencing the texture in other functions.

Definition at line 90 of file chronos.hpp.

Member Data Documentation

◆ height

int Chronos::Manager::TextureDetails::height

Definition at line 95 of file chronos.hpp.

◆ textureName

std::string Chronos::Manager::TextureDetails::textureName

Definition at line 91 of file chronos.hpp.

◆ textureNo

int Chronos::Manager::TextureDetails::textureNo

Definition at line 93 of file chronos.hpp.

◆ texturePath

std::string Chronos::Manager::TextureDetails::texturePath

Definition at line 92 of file chronos.hpp.

◆ width

int Chronos::Manager::TextureDetails::width

Definition at line 94 of file chronos.hpp.


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