public

Inheritance Graph

graph BT
	MaterialState
	MaterialState --> RenderingParametersState
	click MaterialState "classMinSG_1_1MaterialState"
	click RenderingParametersState "classMinSG_1_1RenderingParametersState"

Description

Public Functions

   
   
  MaterialState()
   
  MaterialState(const Rendering::MaterialParameters & newParameter)
   
  MaterialState(const MaterialState & other)
   
  ~MaterialState()
   
MaterialState * clone() const
Create a duplicate of this State object.
   
void preMultiplyAlpha()

Documentation

function
MinSG::MaterialState::MaterialState

public inline
   
   
MaterialState( )

Defined in MinSG/Core/States/MaterialState.h:23


function
MinSG::MaterialState::MaterialState

public inline explicit
     
     
MaterialState( const Rendering::MaterialParameters & newParameter )

Defined in MinSG/Core/States/MaterialState.h:25


function
MinSG::MaterialState::MaterialState

public inline
     
     
MaterialState( const MaterialState & other )

Defined in MinSG/Core/States/MaterialState.h:27


function
MinSG::MaterialState::~MaterialState

public inline virtual
   
   
~MaterialState( )

Defined in MinSG/Core/States/MaterialState.h:29


function
MinSG::MaterialState::clone

public const inline virtual
   
   
MaterialState * clone( ) const

Create a duplicate of this State object.

Defined in MinSG/Core/States/MaterialState.h:31


function
MinSG::MaterialState::preMultiplyAlpha

public
   
   
void preMultiplyAlpha( )

Multiply the color values of the material with the alpha value. This is needed for alpha blending when using premultiplied-alpha colors.

Defined in MinSG/Core/States/MaterialState.h:39