PolyFEM
Loading...
Searching...
No Matches
polyfem::renderer::FragmentAttributes Class Reference

#include <raster.hpp>

Public Member Functions

 FragmentAttributes (double r=0, double g=0, double b=0, double a=1)
 

Public Attributes

double depth
 
Eigen::Vector4d color
 

Detailed Description

Definition at line 47 of file raster.hpp.

Constructor & Destructor Documentation

◆ FragmentAttributes()

polyfem::renderer::FragmentAttributes::FragmentAttributes ( double  r = 0,
double  g = 0,
double  b = 0,
double  a = 1 
)
inline

Definition at line 50 of file raster.hpp.

References color.

Member Data Documentation

◆ color

Eigen::Vector4d polyfem::renderer::FragmentAttributes::color

Definition at line 55 of file raster.hpp.

Referenced by FragmentAttributes(), and polyfem::renderer::render().

◆ depth

double polyfem::renderer::FragmentAttributes::depth

Definition at line 54 of file raster.hpp.

Referenced by polyfem::renderer::render().


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