MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::TransparencyMode Struct Reference

struct to determine transparent rendering mode More...

#include <MRRenderModelParameters.h>

Public Member Functions

 TransparencyMode ()=default
 
 TransparencyMode (bool alphaSort)
 
 TransparencyMode (unsigned bgDepthTexId, unsigned fgColorTexId, unsigned fgDepthTexId)
 
bool isAlphaSortEnabled () const
 
bool isDepthPeelingEnabled () const
 
unsigned getBGDepthPeelingDepthTextureId () const
 
unsigned getFGDepthPeelingColorTextureId () const
 
unsigned getFGDepthPeelingDepthTextureId () const
 

Detailed Description

struct to determine transparent rendering mode

Constructor & Destructor Documentation

◆ TransparencyMode() [1/3]

MR::TransparencyMode::TransparencyMode ( )
default

◆ TransparencyMode() [2/3]

MR::TransparencyMode::TransparencyMode ( bool alphaSort)
inline

◆ TransparencyMode() [3/3]

MR::TransparencyMode::TransparencyMode ( unsigned bgDepthTexId,
unsigned fgColorTexId,
unsigned fgDepthTexId )
inline

Member Function Documentation

◆ getBGDepthPeelingDepthTextureId()

unsigned MR::TransparencyMode::getBGDepthPeelingDepthTextureId ( ) const
inline

◆ getFGDepthPeelingColorTextureId()

unsigned MR::TransparencyMode::getFGDepthPeelingColorTextureId ( ) const
inline

◆ getFGDepthPeelingDepthTextureId()

unsigned MR::TransparencyMode::getFGDepthPeelingDepthTextureId ( ) const
inline

◆ isAlphaSortEnabled()

bool MR::TransparencyMode::isAlphaSortEnabled ( ) const
inline

◆ isDepthPeelingEnabled()

bool MR::TransparencyMode::isDepthPeelingEnabled ( ) const
inline

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