![]() |
Vireo
0.0
Vireo 3D Rendering Hardware Interface
|
Color attachments description
Manual page : Render pass
Public Attributes | |
std::shared_ptr< SwapChain > | swapChain {nullptr} |
Use the current swap chain image as a color attachment. Must be nullptr if renderTarget is set. More... | |
std::shared_ptr< RenderTarget > | renderTarget {nullptr} |
Color attachment. Must be nullptr if swapChain is set. More... | |
std::shared_ptr< RenderTarget > | multisampledRenderTarget {nullptr} |
Multisampled color attachment. nullptr if MSAA is disabled for the current pipeline. More... | |
bool | clear {false} |
Clear the color attachment if true More... | |
ClearValue | clearValue { .color = {0.0f, 0.0f, 0.0f, 0.0f} } |
Color clear value. More... | |
bool | discardAfterRender {false} |
Discard the content after rendering. More... | |
bool clear {false} |
Clear the color attachment if true
ClearValue clearValue { .color = {0.0f, 0.0f, 0.0f, 0.0f} } |
Color clear value.
bool discardAfterRender {false} |
Discard the content after rendering.
std::shared_ptr<RenderTarget> multisampledRenderTarget {nullptr} |
Multisampled color attachment. nullptr
if MSAA is disabled for the current pipeline.
std::shared_ptr<RenderTarget> renderTarget {nullptr} |
Color attachment. Must be nullptr
if swapChain
is set.
std::shared_ptr<SwapChain> swapChain {nullptr} |
Use the current swap chain image as a color attachment. Must be nullptr
if renderTarget
is set.