Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
Definition: DtTextureInterface.h:109
virtual bool enqueueSubRegion(int x, int y, int width, int height, const uint8_t *rgbaPixels)
Queue a sub-region upload for the next render frame.
Definition: DtTextureInterface.h:85
virtual void setCpuBackingBuffer(const uint8_t *pixels)
Attach a CPU-side pixel buffer that will be uploaded to the GPU on each call to markCpuBackingBufferD...
Definition: DtTextureInterface.h:64
Interface for a texture. Used to pass in a texture to vrvGraphics.
Definition: DtTextureInterface.h:26
virtual bool allocateGpuStorage(const std::string &key, int width, int height)
Allocate uninitialised GPU texture storage of the given dimensions. No pixel data is uploaded...
Definition: DtTextureInterface.h:57
virtual bool markCpuBackingBufferDirty()
Signal that the CPU backing buffer has changed and must be re-uploaded to the GPU on the next render ...
Definition: DtTextureInterface.h:70