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
donner::gpu::CopyTextureToBufferCommand Struct Reference

Recorded copyTextureToBuffer (readback staging copy). More...

#include "donner/gpu/Commands.h"

Public Attributes

uint32_t textureSlot = 0
 Source texture slot index.
uint32_t bufferSlot = 0
 Destination buffer slot index.
TexelCopyBufferLayout layout
 Destination row layout.
Extent2d copySize
 Copy extent in texels.

Detailed Description

Recorded copyTextureToBuffer (readback staging copy).

Member Data Documentation

◆ bufferSlot

uint32_t donner::gpu::CopyTextureToBufferCommand::bufferSlot = 0

Destination buffer slot index.

◆ copySize

Extent2d donner::gpu::CopyTextureToBufferCommand::copySize

Copy extent in texels.

◆ layout

TexelCopyBufferLayout donner::gpu::CopyTextureToBufferCommand::layout

Destination row layout.

◆ textureSlot

uint32_t donner::gpu::CopyTextureToBufferCommand::textureSlot = 0

Source texture slot index.


The documentation for this struct was generated from the following file: