|
TachyonUI 1.1.0
High-performance UI for building tools.
|
The images the shaders sample, by ImageIndex (1-based; the shaders' slot is one less). More...
#include <gui_core/graphics/sdlgpu/sdlgpu_device.h>
Public Member Functions | |
| void | SetCapacity (uint32_t capacity) |
| void | Clear () override |
| Removes every image, freeing all indices. | |
| ImageIndex | Add (Image *image) override |
| Adds an image (not owned) and returns its index. | |
| void | Remove (ImageIndex index) override |
| Frees the index for reuse; the image itself stays. | |
| ImageIndex | ReserveIndex () |
| A slot with no image yet, for one that comes later (a text atlas page). | |
| void | SetImage (ImageIndex index, SDLGPUImage *image) |
| Points the slot at another image. | |
| const SDLGPUImage * | At (uint32_t slot) const |
| The image in a 0-based slot, or null. | |
| Public Member Functions inherited from tachyon::ImageSet | |
| virtual | ~ImageSet () |
The images the shaders sample, by ImageIndex (1-based; the shaders' slot is one less).
|
inline |
|
overridevirtual |
Removes every image, freeing all indices.
Implements tachyon::ImageSet.
|
overridevirtual |
Adds an image (not owned) and returns its index.
Implements tachyon::ImageSet.
|
overridevirtual |
Frees the index for reuse; the image itself stays.
Implements tachyon::ImageSet.
| ImageIndex tachyon::sdlgpu::SDLGPUImageSet::ReserveIndex | ( | ) |
A slot with no image yet, for one that comes later (a text atlas page).
| void tachyon::sdlgpu::SDLGPUImageSet::SetImage | ( | ImageIndex | index, |
| SDLGPUImage * | image ) |
Points the slot at another image.
|
inline |
The image in a 0-based slot, or null.