Donner SVG 0.8.0-pre
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
donner::gpu::CopyTextureToTextureCommand Struct Reference

Recorded copyTextureToTexture (sub-rectangle texture copy; both origins default to texel (0, 0), which is the whole-rect copy every recorded stream used before origins existed). More...

#include "donner/gpu/Commands.h"

Public Attributes

ResourceIdentity textureSrcId
 Source texture identity.
ResourceIdentity textureDstId
 Destination texture identity.
Extent2d copySize
 Copy extent in texels.
Origin2d sourceOrigin
 Top-left source texel the copy reads from.
Origin2d destinationOrigin
 Top-left destination texel the copy writes to.

Detailed Description

Recorded copyTextureToTexture (sub-rectangle texture copy; both origins default to texel (0, 0), which is the whole-rect copy every recorded stream used before origins existed).

Member Data Documentation

◆ copySize

Extent2d donner::gpu::CopyTextureToTextureCommand::copySize

Copy extent in texels.

◆ destinationOrigin

Origin2d donner::gpu::CopyTextureToTextureCommand::destinationOrigin

Top-left destination texel the copy writes to.

◆ sourceOrigin

Origin2d donner::gpu::CopyTextureToTextureCommand::sourceOrigin

Top-left source texel the copy reads from.

◆ textureDstId

ResourceIdentity donner::gpu::CopyTextureToTextureCommand::textureDstId

Destination texture identity.

◆ textureSrcId

ResourceIdentity donner::gpu::CopyTextureToTextureCommand::textureSrcId

Source texture identity.


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