ref_ptr< i_texture > find_texture(texture_id aId) const
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(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(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 find_texture(texture_id aId, i_ref_ptr< i_texture > &aResult) const =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)
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 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
static uuid const & iid()