neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neogfx::i_texture_atlas Class Referenceabstract

#include <i_texture_atlas.hpp>

Inheritance diagram for neogfx::i_texture_atlas:
neogfx::texture_atlas

Classes

struct  sub_texture_not_found
 
struct  texture_too_big_for_atlas
 

Public Member Functions

virtual ~i_texture_atlas ()=default
 
virtual const i_sub_texturesub_texture (texture_id aSubTextureId) const =0
 
virtual i_sub_texturesub_texture (texture_id aSubTextureId)=0
 
virtual i_sub_texturecreate_sub_texture (const size &aSize, dimension aDpiScaleFactor, texture_sampling aSampling, texture_data_format aDataFormat=texture_data_format::RGBA)=0
 
virtual i_sub_texturecreate_sub_texture (const i_image &aImage)=0
 
virtual i_sub_texturecreate_sub_texture (const i_image &aImage, const rect &aImagePart)=0
 
virtual void destroy_sub_texture (i_sub_texture &aSubTexture)=0
 

Detailed Description

Definition at line 28 of file i_texture_atlas.hpp.

Constructor & Destructor Documentation

◆ ~i_texture_atlas()

virtual neogfx::i_texture_atlas::~i_texture_atlas ( )
virtualdefault

Member Function Documentation

◆ create_sub_texture() [1/3]

virtual i_sub_texture & neogfx::i_texture_atlas::create_sub_texture ( const i_image aImage)
pure virtual

Implemented in neogfx::texture_atlas.

◆ create_sub_texture() [2/3]

virtual i_sub_texture & neogfx::i_texture_atlas::create_sub_texture ( const i_image aImage,
const rect aImagePart 
)
pure virtual

Implemented in neogfx::texture_atlas.

◆ create_sub_texture() [3/3]

virtual i_sub_texture & neogfx::i_texture_atlas::create_sub_texture ( const size aSize,
dimension  aDpiScaleFactor,
texture_sampling  aSampling,
texture_data_format  aDataFormat = texture_data_format::RGBA 
)
pure virtual

Implemented in neogfx::texture_atlas.

◆ destroy_sub_texture()

virtual void neogfx::i_texture_atlas::destroy_sub_texture ( i_sub_texture aSubTexture)
pure virtual

Implemented in neogfx::texture_atlas.

◆ sub_texture() [1/2]

virtual const i_sub_texture & neogfx::i_texture_atlas::sub_texture ( texture_id  aSubTextureId) const
pure virtual

Implemented in neogfx::texture_atlas.

◆ sub_texture() [2/2]

virtual i_sub_texture & neogfx::i_texture_atlas::sub_texture ( texture_id  aSubTextureId)
pure virtual

Implemented in neogfx::texture_atlas.


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