Loading...
Searching...
No Matches
score::gfx::TextureCache Class Reference

Public Member Functions

 TextureCache (const TextureCache &)=delete
 
TextureCacheoperator= (const TextureCache &)=delete
 
 TextureCache (TextureCache &&) noexcept=default
 
TextureCacheoperator= (TextureCache &&) noexcept=default
 
QRhiTexture * acquireFromPath (QRhi &rhi, QRhiResourceUpdateBatch &batch, const QString &path, bool srgb)
 
QRhiTexture * acquireFromMemory (QRhi &rhi, QRhiResourceUpdateBatch &batch, const QByteArray &bytes, const QString &mime_hint, uint64_t content_hash, bool srgb)
 
void clear ()
 
std::size_t size () const noexcept
 

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