Donner SVG 0.8.0-pre
SVG editor and embeddable C⁠+⁠+⁠20 engine.
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: