VisuTwin Canvas
C++ 3D Engine — Metal Backend
Loading...
Searching...
No Matches
visutwin::canvas::ColorAttachmentOps Class Reference

#include <platform/graphics/renderPass.h>

Public Member Functions

 ColorAttachmentOps ()=default

Public Attributes

bool clear = false
Color clearValue {0.0f, 0.0f, 0.0f, 1.0f}
Color clearValueLinear {0.0f, 0.0f, 0.0f, 1.0f}
bool genMipmaps = false
bool resolve = true
bool store = false

Detailed Description

Color attachment operations specify how color attachments are handled at the beginning and end of a render pass

Definition at line 28 of file renderPass.h.

Constructor & Destructor Documentation

◆ ColorAttachmentOps()

visutwin::canvas::ColorAttachmentOps::ColorAttachmentOps ( )
default

Member Data Documentation

◆ clear

bool visutwin::canvas::ColorAttachmentOps::clear = false

Definition at line 32 of file renderPass.h.

◆ clearValue

Color visutwin::canvas::ColorAttachmentOps::clearValue {0.0f, 0.0f, 0.0f, 1.0f}

Definition at line 30 of file renderPass.h.

◆ clearValueLinear

Color visutwin::canvas::ColorAttachmentOps::clearValueLinear {0.0f, 0.0f, 0.0f, 1.0f}

Definition at line 31 of file renderPass.h.

◆ genMipmaps

bool visutwin::canvas::ColorAttachmentOps::genMipmaps = false

Definition at line 35 of file renderPass.h.

◆ resolve

bool visutwin::canvas::ColorAttachmentOps::resolve = true

Definition at line 34 of file renderPass.h.

◆ store

bool visutwin::canvas::ColorAttachmentOps::store = false

Definition at line 33 of file renderPass.h.


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