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

Portable transparent-fragment compositing settings. More...

#include <render_settings.h>

Public Attributes

bool enabled = false
 
graphics::TransparencyMethod method = graphics::TransparencyMethod::sorted
 Compositing method; sorted is the portable default.
 
unsigned layers = 4
 Maximum depth-peeling layers or linked-list fragments per pixel; positive.
 

Detailed Description

Portable transparent-fragment compositing settings.

Member Data Documentation

◆ enabled

bool enabled = false

Enable a separate transparency pass over visible scene triangles.

This explicit switch is required because triangle drawables default to opacity 0.6 while ordinary opaque rendering has always ignored it. Enabling by method alone would therefore change every default scene as soon as any unrelated effect was configured.


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