NWengine 0.9
Loading...
Searching...
No Matches
TextureIdentifier Struct Reference

Struct representing the identifier of a texture. More...

#include <Texture.h>

Public Member Functions

bool operator== (const TextureIdentifier &other) const
 Overloaded equality operator for comparing TextureIdentifier objects.
 

Public Attributes

std::string name
 
uint8 alpha
 

Detailed Description

Struct representing the identifier of a texture.

Member Function Documentation

◆ operator==()

bool TextureIdentifier::operator== ( const TextureIdentifier & other) const
inline

Overloaded equality operator for comparing TextureIdentifier objects.

Parameters
otherThe other TextureIdentifier object to compare with.
Returns
True if the TextureIdentifier objects are equal, false otherwise.

Member Data Documentation

◆ alpha

uint8 TextureIdentifier::alpha

The alpha value of the texture.

◆ name

std::string TextureIdentifier::name

The name of the texture.


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