Interface for backend-specific GPU texture resource management.
virtual bool IsTextureLoadedInGPU()=0
Checks whether the texture is currently loaded in GPU memory.
virtual void LoadToGPU(const ImageData &data)=0
Uploads texture data from CPU to GPU memory.
virtual ~ITextureRenderResources()=default
Virtual destructor.
virtual size_t GetSizeInGPUBytes() const =0
Returns the memory footprint of the texture on the GPU.
virtual void ReleaseFromGPU()=0
Releases texture memory from the GPU.