TachyonUI 0.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
tachyon::ImageSet Class Referenceabstract

The images the shaders can sample, each at an ImageIndex. Implemented by the backend. More...

#include <gui_core/graphics/gui_image.h>

Inheritance diagram for tachyon::ImageSet:

Public Member Functions

virtual ~ImageSet ()
virtual void Clear ()=0
 Removes every image, freeing all indices.
virtual ImageIndex Add (Image *image)=0
 Adds an image (not owned) and returns its index.
virtual void Remove (ImageIndex index)=0
 Frees the index for reuse; the image itself stays.

Detailed Description

The images the shaders can sample, each at an ImageIndex. Implemented by the backend.

Constructor & Destructor Documentation

◆ ~ImageSet()

virtual tachyon::ImageSet::~ImageSet ( )
inlinevirtual

Member Function Documentation

◆ Clear()

virtual void tachyon::ImageSet::Clear ( )
pure virtual

Removes every image, freeing all indices.

Implemented in tachyon::vulkan::VulkanImageSet.

◆ Add()

virtual ImageIndex tachyon::ImageSet::Add ( Image * image)
pure virtual

Adds an image (not owned) and returns its index.

Implemented in tachyon::vulkan::VulkanImageSet.

◆ Remove()

virtual void tachyon::ImageSet::Remove ( ImageIndex index)
pure virtual

Frees the index for reuse; the image itself stays.

Implemented in tachyon::vulkan::VulkanImageSet.


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