TachyonUI 1.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
tachyon::ImageSetTextAtlasManager< ImageSetT, ImageT > Class Template Referencefinal

#include <gui_core/graphics/gui_image_set_text_atlas.h>

Inheritance diagram for tachyon::ImageSetTextAtlasManager< ImageSetT, ImageT >:

Public Member Functions

bool Initialize (GraphicsContext *graphicsContext, ImageSet *imageSet) override
TextureIndex CreateTexture (const uint8_t *imageData, uint2 imageSize, uint8_t bpp) override
void UpdateTexture (TextureIndex textureIndex, const uint8_t *imageData, uint2 imageSize) override
void UpdateTextureRows (TextureIndex textureIndex, const uint8_t *imageData, uint2 imageSize, uint32_t firstRow, uint32_t rowCount) override
 The page's pixels, all of them, of which only rows [firstRow, firstRow + rowCount) changed: where the page's image is that size, those rows go into it, not a new image (GraphicsContext::UpdateImageRows).
ImageIndex GetImageIndex (TextureIndex textureIndex) override
void SyncTextureIndices () override
Public Member Functions inherited from tachyon::TextAtlasManager
virtual ~TextAtlasManager ()

Member Function Documentation

◆ Initialize()

template<class ImageSetT, class ImageT>
bool tachyon::ImageSetTextAtlasManager< ImageSetT, ImageT >::Initialize ( GraphicsContext * graphicsContext,
ImageSet * imageSet )
inlineoverridevirtual

◆ CreateTexture()

template<class ImageSetT, class ImageT>
TextureIndex tachyon::ImageSetTextAtlasManager< ImageSetT, ImageT >::CreateTexture ( const uint8_t * imageData,
uint2 imageSize,
uint8_t bpp )
inlineoverridevirtual

◆ UpdateTexture()

template<class ImageSetT, class ImageT>
void tachyon::ImageSetTextAtlasManager< ImageSetT, ImageT >::UpdateTexture ( TextureIndex textureIndex,
const uint8_t * imageData,
uint2 imageSize )
inlineoverridevirtual

◆ UpdateTextureRows()

template<class ImageSetT, class ImageT>
void tachyon::ImageSetTextAtlasManager< ImageSetT, ImageT >::UpdateTextureRows ( TextureIndex textureIndex,
const uint8_t * imageData,
uint2 imageSize,
uint32_t firstRow,
uint32_t rowCount )
inlineoverridevirtual

The page's pixels, all of them, of which only rows [firstRow, firstRow + rowCount) changed: where the page's image is that size, those rows go into it, not a new image (GraphicsContext::UpdateImageRows).

The default sends the whole page (UpdateTexture).

Reimplemented from tachyon::TextAtlasManager.

◆ GetImageIndex()

template<class ImageSetT, class ImageT>
ImageIndex tachyon::ImageSetTextAtlasManager< ImageSetT, ImageT >::GetImageIndex ( TextureIndex textureIndex)
inlineoverridevirtual

◆ SyncTextureIndices()

template<class ImageSetT, class ImageT>
void tachyon::ImageSetTextAtlasManager< ImageSetT, ImageT >::SyncTextureIndices ( )
inlineoverridevirtual

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