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.
Loading...
Searching...
No Matches
Commands.h File Reference

Validated command value types recorded by donner::gpu::CommandEncoder. More...

#include <cstdint>
#include <variant>
#include "donner/gpu/Descriptors.h"
Include dependency graph for Commands.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  donner::gpu::BeginRenderPassCommand
 Recorded beginRenderPass. Attachment references inside the descriptor are validated before recording. More...
struct  donner::gpu::SetPipelineCommand
 Recorded setPipeline. More...
struct  donner::gpu::SetBindGroupCommand
 Recorded setBindGroup. More...
struct  donner::gpu::SetVertexBufferCommand
 Recorded setVertexBuffer. More...
struct  donner::gpu::SetScissorRectCommand
 Recorded setScissorRect. More...
struct  donner::gpu::SetViewportCommand
 Recorded setViewport. More...
struct  donner::gpu::DrawCommand
 Recorded draw. More...
struct  donner::gpu::EndRenderPassCommand
 Recorded render pass end. More...
struct  donner::gpu::CopyTextureToBufferCommand
 Recorded copyTextureToBuffer (readback staging copy). More...

Namespaces

namespace  donner
 Top-level Donner namespace, which is split into different sub-namespaces such as donner::svg and donner::css.

Typedefs

using donner::gpu::Command
 One recorded command.

Detailed Description

Validated command value types recorded by donner::gpu::CommandEncoder.

Commands store only validated Donner value objects and slot-based resource identifiers, never raw pointers or native handles (design 0053 "Command model"), so recorded streams serialize deterministically and contain no process state.

Typedef Documentation

◆ Command

Initial value:
Recorded beginRenderPass. Attachment references inside the descriptor are validated before recording.
Definition Commands.h:18
Recorded copyTextureToBuffer (readback staging copy).
Definition Commands.h:70
Recorded draw.
Definition Commands.h:59
Recorded render pass end.
Definition Commands.h:67
Recorded setBindGroup.
Definition Commands.h:28
Recorded setPipeline.
Definition Commands.h:23
Recorded setScissorRect.
Definition Commands.h:41
Recorded setVertexBuffer.
Definition Commands.h:34
Recorded setViewport.
Definition Commands.h:49

One recorded command.