pulsatrix
Loading...
Searching...
No Matches
texture_cache.hpp File Reference

Keyed GPU texture cache for uploading decoded image Tensors to OpenGL. More...

#include <cstdint>
#include <unordered_map>
#include "pulsatrix/tensor.hpp"
Include dependency graph for texture_cache.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  pulsatrix::TextureCache
 Uploads decoded image Tensors to OpenGL textures, keyed and cached by an arbitrary integer key (e.g. a Dataset index) so a scrolling image grid doesn't re-upload the same image every frame. More...
 

Namespaces

namespace  pulsatrix
 

Typedefs

using pulsatrix::TextureId = unsigned int
 Opaque GL texture handle, typed to avoid a GL header include in this public header.
 

Detailed Description

Keyed GPU texture cache for uploading decoded image Tensors to OpenGL.