21 #ifndef FASTUIDRAW_IMAGE_ATLAS_HPP 22 #define FASTUIDRAW_IMAGE_ATLAS_HPP 76 set_data(
int mimap_level,
ivec2 dst_xy,
int dst_l,
unsigned int size,
u8vec4 color_value) = 0;
98 resize(
int new_num_layers);
162 set_data(
int x,
int y,
int l,
int w,
int h,
185 resize(
int new_num_layers);
272 index_tile_size(
void)
const;
278 color_tile_size(
void)
const;
293 color_store(
void)
const;
299 index_store(
void)
const;
315 lock_resources(
void);
325 unlock_resources(
void);
348 ImageAtlas(
int pcolor_tile_size,
int pindex_tile_size,
363 create_image_on_atlas(
int w,
int h,
const ImageSourceBase &image_data);
375 create_image_bindless(
int w,
int h,
const ImageSourceBase &image_data) = 0;
387 create_image_context_texture2d(
int w,
int h,
const ImageSourceBase &image_data) = 0;
AtlasColorBackingStoreBase(ivec3 whl)
all classes and functions of FastUIDraw are in the namespace fastuidraw.
A wrapper over a pointer to implement reference counting.
virtual void resize_implement(int new_num_layers)=0
An Image represents an image comprising of RGBA8 values. The texel values themselves are stored in a ...
ivec3 dimensions(void) const
virtual void set_data(int mimap_level, ivec2 dst_xy, int dst_l, ivec2 src_xy, unsigned int size, const ImageSourceBase &data)=0
virtual void flush(void)=0
A c_array is a wrapper over a C pointer with a size parameter to facilitate bounds checking and provi...
Defines default reference counting base classes.
An ImageAtlas is a common location to place images of an application.
Represents the interface for the backing store for index data of images.
Represents the interface for a backing store for color data of images.
void resize(int new_num_layers)
file reference_counted.hpp
ImageSourceBase defines the inteface for copying texel data from a source (CPU memory, a file, etc) to an AtlasColorBackingStoreBase derived object.