|
|
Donner SVG 0.8.0-pre
SVG editor and embeddable C++20 engine.
|
Descriptor for Device::createTexture. All Donner textures are 2D, single-mip. More...
#include "donner/gpu/Descriptors.h"
Public Attributes | |
| RcString | label |
| Debug label. | |
| Extent2d | size |
| Extent in texels. Must be nonzero. | |
| TextureFormat | format = TextureFormat::RGBA8Unorm |
| Texel format. | |
| TextureUsage | usage = TextureUsage::None |
| Usage flags. Must not be empty. | |
| uint32_t | sampleCount = 1 |
| Samples per texel. Must be 1: the runtime resolves coverage analytically instead of by multisampling. | |
Descriptor for Device::createTexture. All Donner textures are 2D, single-mip.
| TextureFormat donner::gpu::TextureDescriptor::format = TextureFormat::RGBA8Unorm |
Texel format.
| RcString donner::gpu::TextureDescriptor::label |
Debug label.
| uint32_t donner::gpu::TextureDescriptor::sampleCount = 1 |
Samples per texel. Must be 1: the runtime resolves coverage analytically instead of by multisampling.
| Extent2d donner::gpu::TextureDescriptor::size |
Extent in texels. Must be nonzero.
| TextureUsage donner::gpu::TextureDescriptor::usage = TextureUsage::None |
Usage flags. Must not be empty.