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::RenderPassColorAttachment Struct Reference

One color attachment of a RenderPassDescriptor. More...

#include "donner/gpu/Descriptors.h"

Public Attributes

TextureViewRef view
 Attachment view. Texture needs TextureUsage::RenderAttachment.
LoadOp loadOp = LoadOp::Clear
 Load operation.
StoreOp storeOp = StoreOp::Store
 Store operation.
std::array< double, 4 > clearColor = {}
 Premultiplied RGBA clear color (loadOp Clear).

Detailed Description

One color attachment of a RenderPassDescriptor.

Member Data Documentation

◆ clearColor

std::array<double, 4> donner::gpu::RenderPassColorAttachment::clearColor = {}

Premultiplied RGBA clear color (loadOp Clear).

◆ loadOp

LoadOp donner::gpu::RenderPassColorAttachment::loadOp = LoadOp::Clear

Load operation.

◆ storeOp

StoreOp donner::gpu::RenderPassColorAttachment::storeOp = StoreOp::Store

Store operation.

◆ view

TextureViewRef donner::gpu::RenderPassColorAttachment::view

Attachment view. Texture needs TextureUsage::RenderAttachment.


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