Vireo  0.0
Vireo 3D Rendering Hardware Interface
RenderingConfiguration Struct Reference

Detailed Description

Full render-pass configuration passed to CommandList.begin_rendering().

Lua full name: vireo.RenderingConfiguration

Properties

RenderTargetDesc[] color_render_targets
 Ordered list of color attachment descriptors.
 
RenderTarget|nil depth_stencil_render_target
 Depth/stencil attachment (nil to disable depth/stencil).
 
RenderTarget|nil multisampled_depth_stencil_render_target
 Optional MSAA depth/stencil resolve target.
 
boolean use_depth_attachment
 True to use the depth aspect of the depth/stencil attachment.
 
boolean use_stencil_attachment
 True to use the stencil aspect of the depth/stencil attachment.
 
boolean clear_depth_stencil
 True to clear the depth/stencil attachment at the start of the render pass.
 
ClearValue depth_stencil_clear_value
 Clear value for depth/stencil (use .depth and .stencil fields).
 
boolean discard_depth_stencil_after_render
 True to discard the depth/stencil content after the render pass.
 

Property Documentation

RenderTargetDesc[] color_render_targets

Ordered list of color attachment descriptors.

RenderTarget|nil depth_stencil_render_target

Depth/stencil attachment (nil to disable depth/stencil).

RenderTarget|nil multisampled_depth_stencil_render_target

Optional MSAA depth/stencil resolve target.

boolean use_depth_attachment

True to use the depth aspect of the depth/stencil attachment.

boolean use_stencil_attachment

True to use the stencil aspect of the depth/stencil attachment.

boolean clear_depth_stencil

True to clear the depth/stencil attachment at the start of the render pass.

ClearValue depth_stencil_clear_value

Clear value for depth/stencil (use .depth and .stencil fields).

boolean discard_depth_stencil_after_render

True to discard the depth/stencil content after the render pass.