Vireo  0.0
Vireo 3D Rendering Hardware Interface
RenderingConfiguration Struct Reference

Detailed Description

Color & depth attachments descriptions

Manual page : Render pass

Public Attributes

std::vector< RenderTargetDesccolorRenderTargets {}
 Color attachments. Can be empty. More...
 
std::shared_ptr< RenderTargetdepthStencilRenderTarget {nullptr}
 Depth and stencil attachment. Can be empty. More...
 
std::shared_ptr< RenderTargetmultisampledDepthStencilRenderTarget {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...
 

Member Data Documentation

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