![]() |
Vireo
0.0
Vireo 3D Rendering Hardware Interface
|
Color & depth attachments descriptions
Manual page : Render pass
Public Attributes | |
std::vector< RenderTargetDesc > | colorRenderTargets {} |
Color attachments. Can be empty. More... | |
std::shared_ptr< RenderTarget > | depthStencilRenderTarget {nullptr} |
Depth and stencil attachment. Can be empty. More... | |
std::shared_ptr< RenderTarget > | multisampledDepthStencilRenderTarget {nullptr} |
Multisampled depth attachment. nullptr if MSAA is disabled for the current pipeline. More... | |
bool | depthTestEnable {false} |
true is the depth and stencil attachment is used for depth testing More... | |
bool | stencilTestEnable {false} |
true is the depth and stencil attachment is used for stencil testing More... | |
bool | clearDepthStencil {false} |
Clear the depth and stencil attachment if true More... | |
ClearValue | depthStencilClearValue { .depthStencil = {1.0f, 0} } |
Depth and stencil clear value. More... | |
bool | discardDepthStencilAfterRender {false} |
Discard the content of the depth and stencil attachment after rendering. More... | |
bool clearDepthStencil {false} |
Clear the depth and stencil attachment if true
std::vector<RenderTargetDesc> colorRenderTargets {} |
Color attachments. Can be empty.
ClearValue depthStencilClearValue { .depthStencil = {1.0f, 0} } |
Depth and stencil clear value.
std::shared_ptr<RenderTarget> depthStencilRenderTarget {nullptr} |
Depth and stencil attachment. Can be empty.
bool depthTestEnable {false} |
true
is the depth and stencil attachment is used for depth testing
bool discardDepthStencilAfterRender {false} |
Discard the content of the depth and stencil attachment after rendering.
std::shared_ptr<RenderTarget> multisampledDepthStencilRenderTarget {nullptr} |
Multisampled depth attachment. nullptr
if MSAA is disabled for the current pipeline.
bool stencilTestEnable {false} |
true
is the depth and stencil attachment is used for stencil testing