virtual void annotate(TextureHandle, const StringView &) override
Associate a name with an object for use in graphics debugging.
virtual TextureHandle loadTexture(const TextureDescription &, const TextureData *) override
Load a texture from the given description.
virtual TextureViewHandle createTextureView(TextureViewDescription &) override
Create a texture view used to bind a limited view of the texture data to the rendering pipeline.
virtual void releaseTexture(TextureHandle textureHandle) override
Release the texture with the given textureHandle.
virtual SamplerStateHandle loadSamplerState(const SamplerState &) override
Load a sampler state object.
virtual void releaseSamplerState(SamplerStateHandle samplerStateHandle) override
Release the sampler state with the given handle.
virtual void generateMipmaps(TextureHandle) override
Use the graphics device to generate mipmaps for the texture with the given texture handle.
virtual void releaseTextureView(const TextureViewHandle &textureViewHandle) override
Release the given texture view.
virtual void * getNativeHandle(TextureHandle textureHandle) override
Get the device-specific handle (D3D texture pointer, OpenGL texture ID etc) associated with the given...
virtual void releaseResources() override
Release all allocated texture resources.
Describes how to fetch data from a texture in shaders.