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