RetroArch
Public Member Functions | Protected Attributes | List of all members
glslang::TIntermSelection Class Reference

#include <intermediate.h>

Inheritance diagram for glslang::TIntermSelection:
[legend]
Collaboration diagram for glslang::TIntermSelection:
[legend]

Public Member Functions

 TIntermSelection (TIntermTyped *cond, TIntermNode *trueB, TIntermNode *falseB)
 
 TIntermSelection (TIntermTyped *cond, TIntermNode *trueB, TIntermNode *falseB, const TType &type)
 
virtual void traverse (TIntermTraverser *)
 
virtual TIntermTypedgetCondition () const
 
virtual TIntermNodegetTrueBlock () const
 
virtual TIntermNodegetFalseBlock () const
 
virtual TIntermSelectiongetAsSelectionNode ()
 
virtual const TIntermSelectiongetAsSelectionNode () const
 
void setNoShortCircuit ()
 
bool getShortCircuit () const
 
void setFlatten ()
 
void setDontFlatten ()
 
bool getFlatten () const
 
bool getDontFlatten () const
 
- Public Member Functions inherited from glslang::TIntermTyped
 TIntermTyped (const TType &t)
 
 TIntermTyped (TBasicType basicType)
 
virtual TIntermTypedgetAsTyped ()
 
virtual const TIntermTypedgetAsTyped () const
 
virtual void setType (const TType &t)
 
virtual const TTypegetType () const
 
virtual TTypegetWritableType ()
 
virtual TBasicType getBasicType () const
 
virtual TQualifiergetQualifier ()
 
virtual const TQualifiergetQualifier () const
 
virtual void propagatePrecision (TPrecisionQualifier)
 
virtual int getVectorSize () const
 
virtual int getMatrixCols () const
 
virtual int getMatrixRows () const
 
virtual bool isMatrix () const
 
virtual bool isArray () const
 
virtual bool isVector () const
 
virtual bool isScalar () const
 
virtual bool isStruct () const
 
virtual bool isFloatingDomain () const
 
virtual bool isIntegerDomain () const
 
TString getCompleteString () const
 
- Public Member Functions inherited from TIntermNode
 TIntermNode ()
 
virtual const glslang::TSourceLocgetLoc () const
 
virtual void setLoc (const glslang::TSourceLoc &l)
 
virtual glslang::TIntermOperatorgetAsOperator ()
 
virtual glslang::TIntermConstantUniongetAsConstantUnion ()
 
virtual glslang::TIntermAggregategetAsAggregate ()
 
virtual glslang::TIntermUnarygetAsUnaryNode ()
 
virtual glslang::TIntermBinarygetAsBinaryNode ()
 
virtual glslang::TIntermSwitchgetAsSwitchNode ()
 
virtual glslang::TIntermMethodgetAsMethodNode ()
 
virtual glslang::TIntermSymbolgetAsSymbolNode ()
 
virtual glslang::TIntermBranchgetAsBranchNode ()
 
virtual glslang::TIntermLoopgetAsLoopNode ()
 
virtual const glslang::TIntermOperatorgetAsOperator () const
 
virtual const glslang::TIntermConstantUniongetAsConstantUnion () const
 
virtual const glslang::TIntermAggregategetAsAggregate () const
 
virtual const glslang::TIntermUnarygetAsUnaryNode () const
 
virtual const glslang::TIntermBinarygetAsBinaryNode () const
 
virtual const glslang::TIntermSwitchgetAsSwitchNode () const
 
virtual const glslang::TIntermMethodgetAsMethodNode () const
 
virtual const glslang::TIntermSymbolgetAsSymbolNode () const
 
virtual const glslang::TIntermBranchgetAsBranchNode () const
 
virtual const glslang::TIntermLoopgetAsLoopNode () const
 
virtual ~TIntermNode ()
 

Protected Attributes

TIntermTypedcondition
 
TIntermNodetrueBlock
 
TIntermNodefalseBlock
 
bool shortCircuit
 
bool flatten
 
bool dontFlatten
 
- Protected Attributes inherited from glslang::TIntermTyped
TType type
 
- Protected Attributes inherited from TIntermNode
glslang::TSourceLoc loc
 

Additional Inherited Members

- Protected Member Functions inherited from glslang::TIntermTyped
TIntermTypedoperator= (const TIntermTyped &)
 
- Protected Member Functions inherited from TIntermNode
 TIntermNode (const TIntermNode &)
 
TIntermNodeoperator= (const TIntermNode &)
 

Constructor & Destructor Documentation

◆ TIntermSelection() [1/2]

glslang::TIntermSelection::TIntermSelection ( TIntermTyped cond,
TIntermNode trueB,
TIntermNode falseB 
)
inline

◆ TIntermSelection() [2/2]

glslang::TIntermSelection::TIntermSelection ( TIntermTyped cond,
TIntermNode trueB,
TIntermNode falseB,
const TType type 
)
inline

Member Function Documentation

◆ getAsSelectionNode() [1/2]

virtual TIntermSelection* glslang::TIntermSelection::getAsSelectionNode ( )
inlinevirtual

Reimplemented from TIntermNode.

◆ getAsSelectionNode() [2/2]

virtual const TIntermSelection* glslang::TIntermSelection::getAsSelectionNode ( ) const
inlinevirtual

Reimplemented from TIntermNode.

◆ getCondition()

virtual TIntermTyped* glslang::TIntermSelection::getCondition ( ) const
inlinevirtual
Here is the caller graph for this function:

◆ getDontFlatten()

bool glslang::TIntermSelection::getDontFlatten ( ) const
inline
Here is the caller graph for this function:

◆ getFalseBlock()

virtual TIntermNode* glslang::TIntermSelection::getFalseBlock ( ) const
inlinevirtual
Here is the caller graph for this function:

◆ getFlatten()

bool glslang::TIntermSelection::getFlatten ( ) const
inline
Here is the caller graph for this function:

◆ getShortCircuit()

bool glslang::TIntermSelection::getShortCircuit ( ) const
inline
Here is the caller graph for this function:

◆ getTrueBlock()

virtual TIntermNode* glslang::TIntermSelection::getTrueBlock ( ) const
inlinevirtual
Here is the caller graph for this function:

◆ setDontFlatten()

void glslang::TIntermSelection::setDontFlatten ( )
inline
Here is the caller graph for this function:

◆ setFlatten()

void glslang::TIntermSelection::setFlatten ( )
inline
Here is the caller graph for this function:

◆ setNoShortCircuit()

void glslang::TIntermSelection::setNoShortCircuit ( )
inline
Here is the caller graph for this function:

◆ traverse()

void glslang::TIntermSelection::traverse ( TIntermTraverser it)
virtual

Implements TIntermNode.

Here is the call graph for this function:

Member Data Documentation

◆ condition

TIntermTyped* glslang::TIntermSelection::condition
protected

◆ dontFlatten

bool glslang::TIntermSelection::dontFlatten
protected

◆ falseBlock

TIntermNode* glslang::TIntermSelection::falseBlock
protected

◆ flatten

bool glslang::TIntermSelection::flatten
protected

◆ shortCircuit

bool glslang::TIntermSelection::shortCircuit
protected

◆ trueBlock

TIntermNode* glslang::TIntermSelection::trueBlock
protected

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