|
| void | setDevice (const ResourcePointer< ID3D12Device > &device) |
| |
| TextureHandle | loadTexture (const TextureDescription &desc, const TextureData *data) override |
| | Load a texture from the given description.
|
| |
| void | releaseTexture (TextureHandle textureHandle) override |
| | Release the texture with the given textureHandle.
|
| |
| TextureViewHandle | createTextureView (TextureViewDescription &viewDescription) override |
| | Create a texture view used to bind a limited view of the texture data to the rendering pipeline.
|
| |
| void | releaseTextureView (const TextureViewHandle &handle) override |
| | Release the given texture view.
|
| |
| void * | getNativeHandle (TextureHandle textureHandle) override |
| | Get the device-specific handle (D3D texture pointer, OpenGL texture ID etc) associated with the given texture handle.
|
| |
| SamplerStateHandle | loadSamplerState (const SamplerState &state) override |
| | Load a sampler state object.
|
| |
| void | releaseSamplerState (SamplerStateHandle handle) override |
| | Release the sampler state with the given handle.
|
| |
| void | generateMipmaps (TextureHandle texureHandle) override |
| | Use the graphics device to generate mipmaps for the texture with the given texture handle.
|
| |
| void | releaseResources () override |
| | Release all allocated texture resources.
|
| |
| TextureHandle | loadTexture (const uint8_t *bytes, uint32_t width, uint32_t height, TextureFormat format, uint32_t flags) final |
| |
| TextureHandle | loadTexture (const uint8_t *bytes, uint32_t width, uint32_t height, TextureFormat format, uint32_t numSamples, uint32_t flags) final |
| |
| TextureHandle | loadTexture (const TextureDescription &desc, const TextureData *data)=0 |
| | Load a texture from the given description.
|
| |
| virtual TextureHandle | loadTexture (const unsigned char *bytes, unsigned int width, unsigned int height, TextureFormat format, unsigned int flags=0)=0 |
| | Load a texture using the given data to populate the texture contents.
|
| |
| virtual TextureHandle | loadTexture (const unsigned char *bytes, unsigned int width, unsigned int height, TextureFormat format, unsigned int numSamples, unsigned int flags)=0 |
| | Load a texture using the given data to populate the texture contents.
|
| |
| virtual TextureHandle | loadTexture (const TextureDescription &desc, const TextureData *data)=0 |
| | Load a texture from the given description.
|
| |
| TextureHandle | loadTexture (const uint8_t *bytes, uint32_t width, uint32_t height, TextureFormat format, uint32_t flags) final |
| |
| TextureHandle | loadTexture (const uint8_t *bytes, uint32_t width, uint32_t height, TextureFormat format, uint32_t numSamples, uint32_t flags) final |
| |
| TextureHandle | loadTextureMipMaps (const uint8_t **bytes, size_t numLevels, const uint32_t *widths, const uint32_t *heights, TextureFormat format, uint32_t flags=0) final |
| |
| TextureHandle | loadTextureArray (const uint8_t **bytes, const size_t arraySize, const size_t numLevels, const uint32_t *widths, const uint32_t *heights, TextureFormat format, uint32_t flags=0) final |
| |
| TextureHandle | loadCubeMap (const uint8_t **bytes, const size_t arraySize, const size_t numLevels, const uint32_t *widths, const uint32_t *heights, TextureFormat format, uint32_t flags=0) final |
| |
| TextureHandle | load (ResourceDimensions target, const uint8_t **bytes, const size_t arraySize, const size_t numLevels, const uint32_t *widths, const uint32_t *heights, TextureFormat format, uint32_t numSamples, uint32_t flags) |
| |
| TextureHandle | loadTexture (const TextureDescription &desc, const TextureData *data)=0 |
| | Load a texture from the given description.
|
| |
| virtual TextureHandle | loadTexture (const unsigned char *bytes, unsigned int width, unsigned int height, TextureFormat format, unsigned int flags=0)=0 |
| | Load a texture using the given data to populate the texture contents.
|
| |
| virtual TextureHandle | loadTexture (const unsigned char *bytes, unsigned int width, unsigned int height, TextureFormat format, unsigned int numSamples, unsigned int flags)=0 |
| | Load a texture using the given data to populate the texture contents.
|
| |
| virtual TextureHandle | loadTexture (const TextureDescription &desc, const TextureData *data)=0 |
| | Load a texture from the given description.
|
| |
| virtual void | annotate (TextureHandle handle, const StringView &name) |
| | Associate a name with an object for use in graphics debugging.
|
| |
| virtual TextureHandle | loadTexture (const unsigned char *bytes, unsigned int width, unsigned int height, TextureFormat format, unsigned int flags=0)=0 |
| | Load a texture using the given data to populate the texture contents.
|
| |
| virtual TextureHandle | loadTexture (const unsigned char *bytes, unsigned int width, unsigned int height, TextureFormat format, unsigned int numSamples, unsigned int flags)=0 |
| | Load a texture using the given data to populate the texture contents.
|
| |
| virtual TextureHandle | loadTextureMipMaps (const unsigned char **bytes, size_t numLevels, const unsigned int *widths, const unsigned int *heights, TextureFormat format, unsigned int flags=0)=0 |
| | Load a texture with multiple mipmap levels using the given data to populate the texture contents.
|
| |
| virtual TextureHandle | loadTextureArray (const unsigned char **bytes, const size_t arraySize, const size_t numLevels, const unsigned int *widths, const unsigned int *heights, TextureFormat format, unsigned int flags=0)=0 |
| | Load an array texture with mipmaps using the given data to populate the texture contents.
|
| |
| virtual TextureHandle | loadCubeMap (const unsigned char **bytes, const size_t arraySize, const size_t numLevels, const unsigned int *widths, const unsigned int *heights, TextureFormat format, unsigned int flags=0)=0 |
| | Load a cube map texture with mipmaps using the given data to populate the texture contents.
|
| |
| virtual TextureHandle | loadTexture (const TextureDescription &desc, const TextureData *data)=0 |
| | Load a texture from the given description.
|
| |
| virtual void | uploadTextureData (TextureHandle textureHandle, const TextureData &data, uint32_t layer_offset=0, uint32_t face_offset=0, uint32_t level_offset=0) |
| | Upload a texture from the given description.
|
| |
| virtual void | releaseTexture (TextureHandle textureHandle)=0 |
| | Release the texture with the given textureHandle.
|
| |
| virtual void | releaseNativeTexture (TextureNativeHandle nativeHandle) |
| | Release a native texture handle.
|
| |
| virtual TextureViewHandle | createTextureView (TextureViewDescription &viewDescription)=0 |
| | Create a texture view used to bind a limited view of the texture data to the rendering pipeline.
|
| |
| virtual void | releaseTextureView (const TextureViewHandle &handle)=0 |
| | Release the given texture view.
|
| |
| virtual SamplerStateHandle | loadSamplerState (const SamplerState &state)=0 |
| | Load a sampler state object.
|
| |
| virtual void | releaseSamplerState (SamplerStateHandle handle)=0 |
| | Release the sampler state with the given handle.
|
| |
| virtual void | generateMipmaps (TextureHandle textureHandle)=0 |
| | Use the graphics device to generate mipmaps for the texture with the given texture handle.
|
| |
| virtual void * | getNativeHandle (TextureHandle textureHandle)=0 |
| | Get the device-specific handle (D3D texture pointer, OpenGL texture ID etc) associated with the given texture handle.
|
| |
| virtual void | releaseResources ()=0 |
| | Release all allocated texture resources.
|
| |