|
|
Donner SVG 0.8.0-pre
SVG editor and embeddable C++20 engine.
|
Configuration a surface presents under. More...
#include "donner/gpu/Descriptors.h"
Public Attributes | |
| TextureFormat | format = TextureFormat::BGRA8Unorm |
| Format of acquired textures. | |
| TextureUsage | usage = TextureUsage::RenderAttachment |
| Usage acquired textures carry. | |
| Extent2d | size |
| Extent in texels. Must be nonzero. | |
| PresentMode | presentMode = PresentMode::Fifo |
| Frame pacing. | |
| SurfaceAlphaMode | alphaMode = SurfaceAlphaMode::Opaque |
| Alpha compositing. | |
Configuration a surface presents under.
Reconfiguring is how a surface follows its window: a resize is a new configuration with a new size, not a new surface. It is also the recovery from SurfaceStatus::Outdated.
| SurfaceAlphaMode donner::gpu::SurfaceConfiguration::alphaMode = SurfaceAlphaMode::Opaque |
Alpha compositing.
| TextureFormat donner::gpu::SurfaceConfiguration::format = TextureFormat::BGRA8Unorm |
Format of acquired textures.
| PresentMode donner::gpu::SurfaceConfiguration::presentMode = PresentMode::Fifo |
Frame pacing.
| Extent2d donner::gpu::SurfaceConfiguration::size |
Extent in texels. Must be nonzero.
| TextureUsage donner::gpu::SurfaceConfiguration::usage = TextureUsage::RenderAttachment |
Usage acquired textures carry.