TextureTable
The TextureTable class provides a container for managing multiple texture objects with support for bindless resource access. It enables efficient rendering workflows by organizing textures of a specific type, reducing the overhead of traditional binding operations. This class supports querying platform details, memory usage, and ownership of individual texture entries.
#include <platform/TellusimTexture.h>
Constructors
TextureTable()
Methods
Table platform.
Platform getPlatform() const
const char *getPlatformName() const
Table device index.
uint32_t getIndex() const
Clear table.
void clear()
Check table.
bool isCreated() const
Table name.
void setName(const char *name)
String getName() const
Create table.
bool create(Type type, uint32_t size)
Table type.
Type getType() const
const char *getTypeName() const
Table textures.
uint32_t getSize() const
Texture get(uint32_t index) const
bool isOwner(uint32_t index) const
Memory usage.
size_t getMemory() const