This object is used to store information regarding a texture. NOTE: Only the resource manager is allo...
virtual void CreateTextureWithData(stbi_uc *data, bool genMipMaps, TextureDataSize bytes=TextureDataSize::U_CHAR, bool storage=false)
This method allows you to create a texture from RGBA provided data.
bool operator==(const Texture &texture)
This method allows you to compare a texture against another texture.
bool operator!=(const Texture &texture)
This method allows you to compare a texture against another texture.
glm::vec4 mainColor
The color of this texture.
eastl::string GetFileName() const
This method allows you to retrieve the name of this texture.
virtual ~Texture()
Destructor of texture object.
uint64_t GetTexture() const
This method allows you to get the texture number assigned by the graphics API.