#include <i_texture_manager.hpp>
|
ref_ptr< i_texture > | find_texture (texture_id aId) const |
|
virtual void | find_texture (texture_id aId, i_ref_ptr< i_texture > &aResult) const =0 |
|
ref_ptr< i_texture > | create_texture (neogfx::size const &aExtents, dimension aDpiScaleFactor=1.0, texture_sampling aSampling=texture_sampling::NormalMipmap, texture_data_format aDataFormat=texture_data_format::RGBA, texture_data_type aDataType=texture_data_type::UnsignedByte, color_space aColorSpace=color_space::sRGB, optional_color const &aColor=optional_color()) |
|
virtual void | create_texture (neogfx::size const &aExtents, dimension aDpiScaleFactor, texture_sampling aSampling, texture_data_format aDataFormat, texture_data_type aDataType, color_space aColorSpace, optional_color const &aColor, i_ref_ptr< i_texture > &aResult)=0 |
|
ref_ptr< i_texture > | create_texture (i_image const &aImage, texture_data_format aDataFormat=texture_data_format::RGBA, texture_data_type aDataType=texture_data_type::UnsignedByte) |
|
ref_ptr< i_texture > | create_texture (i_image const &aImage, const rect &aImagePart, texture_data_format aDataFormat=texture_data_format::RGBA, texture_data_type aDataType=texture_data_type::UnsignedByte) |
|
virtual void | create_texture (i_image const &aImage, const rect &aImagePart, texture_data_format aDataFormat, texture_data_type aDataType, i_ref_ptr< i_texture > &aResult)=0 |
|
virtual void | clear_textures ()=0 |
|
virtual std::unique_ptr< i_texture_atlas > | create_texture_atlas (const size &aSize=size{ 1024.0, 1024.0 })=0 |
|
virtual | ~i_basic_cookie_consumer ()=default |
|
virtual void | add_ref (cookie_type aCookie)=0 |
|
virtual void | release (cookie_type aCookie)=0 |
|
virtual long | use_count (cookie_type aCookie) const =0 |
|
virtual | ~i_service ()=default |
|
Definition at line 33 of file i_texture_manager.hpp.
◆ clear_textures()
virtual void neogfx::i_texture_manager::clear_textures |
( |
| ) |
|
|
pure virtual |
◆ create_texture() [1/5]
◆ create_texture() [2/5]
◆ create_texture() [3/5]
◆ create_texture() [4/5]
◆ create_texture() [5/5]
◆ create_texture_atlas()
virtual std::unique_ptr< i_texture_atlas > neogfx::i_texture_manager::create_texture_atlas |
( |
const size & |
aSize = size{ 1024.0, 1024.0 } | ) |
|
|
pure virtual |
◆ find_texture() [1/2]
◆ find_texture() [2/2]
◆ iid()
static uuid const & neogfx::i_texture_manager::iid |
( |
| ) |
|
|
inlinestatic |
◆ texture_atlas
The documentation for this class was generated from the following file: