Easy3D 2.6.1
Loading...
Searching...
No Matches
Transparency Class Referenceabstract

Base class for rendering with transparency. More...

#include <easy3d/renderer/transparency.h>

Inheritance diagram for Transparency:
AverageColorBlending DualDepthPeeling

Public Member Functions

 Transparency ()=default
 Default constructor for Transparency.
 
virtual ~Transparency ()=default
 Virtual destructor for Transparency.
 
virtual void draw (const std::vector< TrianglesDrawable * > &surfaces)=0
 Renders the scene (a set of surfaces) with transparency effect.
 

Detailed Description

Base class for rendering with transparency.

This class provides an interface for rendering scenes with transparency effects.

See also
AverageColorBlending, DualDepthPeeling
Examples
Tutorial_504_Transparency/main.cpp.

Member Function Documentation

◆ draw()

virtual void draw ( const std::vector< TrianglesDrawable * > & surfaces)
pure virtual

Renders the scene (a set of surfaces) with transparency effect.

Parameters
surfacesThe surfaces to be rendered.

Implemented in AverageColorBlending, and DualDepthPeeling.


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