Easy3D 3.0.0
Loading...
Searching...
No Matches
RenderOptions Struct Reference

Common frame-rendering parameters. More...

#include <render_device.h>

Public Attributes

vec4 background = vec4(1)
 RGBA clear color.
 
unsigned samples = 1
 Requested MSAA sample count; one disables MSAA.
 
TransparencyMethod transparency = TransparencyMethod::sorted
 Composite method for transparent commands.
 
unsigned peel_layers = 4
 Depth-peeling layer limit; zero requests the backend's maximum.
 
FrameReadback readback = FrameReadback::color_depth_ids
 Scene data copied back from the rendered frame.
 

Detailed Description

Common frame-rendering parameters.

Examples
Tutorial_204_Offscreen.

The documentation for this struct was generated from the following file: