Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
Loading...
Searching...
No Matches
EsTextureAtlasData Class Reference

#include <DragonBonesAdapter.hpp>

Inheritance diagram for EsTextureAtlasData:

Public Member Functions

 EsTextureAtlasData ()=default
void _onClear () override
TextureData * createTexture () const override
void setTexture (std::uint32_t id)
 Point every page of this atlas at an uploaded texture.

Public Attributes

std::uint32_t textureId = 0
 Bound after parsing, once the host has uploaded the page (see setTexture).

Detailed Description

Definition at line 56 of file DragonBonesAdapter.hpp.

Constructor & Destructor Documentation

◆ EsTextureAtlasData()

EsTextureAtlasData::EsTextureAtlasData ( )
default

Member Function Documentation

◆ _onClear()

void EsTextureAtlasData::_onClear ( )
inlineoverride

Definition at line 65 of file DragonBonesAdapter.hpp.

References textureId.

◆ createTexture()

TextureData * EsTextureAtlasData::createTexture ( ) const
inlineoverride

Definition at line 70 of file DragonBonesAdapter.hpp.

◆ setTexture()

void EsTextureAtlasData::setTexture ( std::uint32_t id)
inline

Point every page of this atlas at an uploaded texture.

Definition at line 73 of file DragonBonesAdapter.hpp.

References textureId.

Member Data Documentation

◆ textureId

std::uint32_t EsTextureAtlasData::textureId = 0

Bound after parsing, once the host has uploaded the page (see setTexture).

Definition at line 61 of file DragonBonesAdapter.hpp.

Referenced by _onClear(), and setTexture().


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