igor::iRenderStateSet Class Reference

#include <iRenderStateSet.h>

Public Member Functions

 iRenderStateSet ()
 
virtual ~iRenderStateSet ()=default
 
void setRenderState (const iRenderState state, const iRenderStateValue value)
 
iRenderStateValue getRenderState (const iRenderState state) const
 

Friends

class iRenderer
 

Detailed Description

render state set holds a list of all render states the renderer can process

Constructor & Destructor Documentation

◆ iRenderStateSet()

igor::iRenderStateSet::iRenderStateSet ( )

initializes default values for the state set

◆ ~iRenderStateSet()

virtual igor::iRenderStateSet::~iRenderStateSet ( )
virtualdefault

does nothing

Member Function Documentation

◆ getRenderState()

iRenderStateValue igor::iRenderStateSet::getRenderState ( const iRenderState  state) const

returns the value of a specific render state

Parameters
staterender state
Returns
render state value

◆ setRenderState()

void igor::iRenderStateSet::setRenderState ( const iRenderState  state,
const iRenderStateValue  value 
)

defines the value of a specific render state

Parameters
staterender state
valuerender state value

Friends And Related Function Documentation

◆ iRenderer

friend class iRenderer
friend

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