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

One color target of a render pipeline's fragment stage. More...

#include "donner/gpu/Descriptors.h"

Public Attributes

TextureFormat format = TextureFormat::RGBA8Unorm
 Attachment format.
std::optional< BlendStateblend
 Blend state; disabled if empty.
ColorWriteMask writeMask = ColorWriteMask::All
 Channels written.

Detailed Description

One color target of a render pipeline's fragment stage.

Member Data Documentation

◆ blend

std::optional<BlendState> donner::gpu::ColorTargetState::blend

Blend state; disabled if empty.

◆ format

TextureFormat donner::gpu::ColorTargetState::format = TextureFormat::RGBA8Unorm

Attachment format.

◆ writeMask

ColorWriteMask donner::gpu::ColorTargetState::writeMask = ColorWriteMask::All

Channels written.


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