![]() |
Vireo
0.0
Vireo 3D Rendering Hardware Interface
|
Describes a single attachment slot in a RenderingConfiguration.
Lua full name: vireo.RenderTargetDesc
Properties | |
| SwapChain|nil | swap_chain |
| Swap chain providing this attachment; mutually exclusive with render_target. | |
| RenderTarget|nil | render_target |
| Explicit render target for this attachment; mutually exclusive with swap_chain. | |
| RenderTarget|nil | multisampled_render_target |
| Optional MSAA render target to resolve into render_target after the pass. | |
| boolean | clear |
| True to clear this attachment at the start of the render pass. | |
| ClearValue | clear_value |
| Clear value applied when clear is true. | |
| boolean | discard_after_render |
| True to discard the attachment content after the render pass (saves bandwidth on tile-based GPUs). | |
| SwapChain|nil swap_chain |
Swap chain providing this attachment; mutually exclusive with render_target.
| RenderTarget|nil render_target |
Explicit render target for this attachment; mutually exclusive with swap_chain.
| RenderTarget|nil multisampled_render_target |
Optional MSAA render target to resolve into render_target after the pass.
| boolean clear |
True to clear this attachment at the start of the render pass.
| ClearValue clear_value |
Clear value applied when clear is true.
| boolean discard_after_render |
True to discard the attachment content after the render pass (saves bandwidth on tile-based GPUs).