|
|
Donner SVG Editor & Engine
SVG-native editor and embeddable SVG2 + CSS3 engine in C++20, with GPU (WebGPU) and compact CPU renderers, built for correctness, security, and performance.
|
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. Only 1 is accepted today; multisampled attachments plus a resolve-target story arrive with the Geode pipeline migration packets. | |
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. Only 1 is accepted today; multisampled attachments plus a resolve-target story arrive with the Geode pipeline migration packets.
| Extent2d donner::gpu::TextureDescriptor::size |
Extent in texels. Must be nonzero.
| TextureUsage donner::gpu::TextureDescriptor::usage = TextureUsage::None |
Usage flags. Must not be empty.