An image (GraphicsContext::CreateImage): a texture sampled by the shaders.
More...
#include <gui_core/graphics/d3d12/d3d12_device.h>
An image (GraphicsContext::CreateImage): a texture sampled by the shaders.
A host's (RegisterExternalImage) has no allocation: its texture stays the host's.
◆ Resource()
| ID3D12Resource * tachyon::d3d12::D3D12Image::Resource |
( |
| ) |
const |
|
inline |
◆ allocation
| ComPtr<D3D12MA::Allocation> tachyon::d3d12::D3D12Image::allocation |
◆ external
| ID3D12Resource* tachyon::d3d12::D3D12Image::external = nullptr |
◆ format
| DXGI_FORMAT tachyon::d3d12::D3D12Image::format = DXGI_FORMAT_UNKNOWN |
◆ sampler
◆ size
| uint2 tachyon::d3d12::D3D12Image::size {} |
◆ sourceFormat
| std::optional<ImageFormat> tachyon::d3d12::D3D12Image::sourceFormat |
Made by CreateImage from pixels of this format: UpdateImageRows can write into it.
The documentation for this class was generated from the following file: