public

Inheritance Graph

graph BT
	AlphaTestParameters
	click AlphaTestParameters "classRendering_1_1AlphaTestParameters"

Description

Parameters of alpha test.

Abstraction layer class for the alpha test configuration. The OpenGL functions working with the alpha test settings are encapsulated inside.

Author: Ralf Petring, Claudius Jähn, Benjamin Eikel

Date: 2012-02-23

See also: functionglAlphaFunc, and constantGL_ALPHA_TESTof functionglEnable

Public Functions

   
   
  AlphaTestParameters()
Create AlphaTestParameters representing the default OpenGL state.
   
  AlphaTestParameters( Comparison::function_t _mode, float _refValue)
Create AlphaTestParameters with the given values.
   
bool operator!=(const AlphaTestParameters & other) const
   
bool operator==(const AlphaTestParameters & other) const
   
bool isEnabled() const
   
void enable()
   
void disable()
   
float getReferenceValue() const
   
Comparison::function_t getMode() const
   
void setReferenceValue(float _refValue)
   
void setMode( Comparison::function_t _mode)

Documentation

function
Rendering::AlphaTestParameters::AlphaTestParameters

public inline
   
   
AlphaTestParameters( )

Create AlphaTestParameters representing the default OpenGL state.

Defined in Rendering/RenderingContext/RenderingParameters.h:81


function
Rendering::AlphaTestParameters::AlphaTestParameters

public inline
     
     
AlphaTestParameters( Comparison::function_t _mode,
  float _refValue
)    

Create AlphaTestParameters with the given values.

Defined in Rendering/RenderingContext/RenderingParameters.h:84


function
Rendering::AlphaTestParameters::operator!=

public const inline
     
     
bool operator!=( const AlphaTestParameters & other ) const

Defined in Rendering/RenderingContext/RenderingParameters.h:86


function
Rendering::AlphaTestParameters::operator==

public const inline
     
     
bool operator==( const AlphaTestParameters & other ) const

Defined in Rendering/RenderingContext/RenderingParameters.h:89


function
Rendering::AlphaTestParameters::isEnabled

public const inline
   
   
bool isEnabled( ) const

Defined in Rendering/RenderingContext/RenderingParameters.h:93


function
Rendering::AlphaTestParameters::enable

public inline
   
   
void enable( )

Defined in Rendering/RenderingContext/RenderingParameters.h:96


function
Rendering::AlphaTestParameters::disable

public inline
   
   
void disable( )

Defined in Rendering/RenderingContext/RenderingParameters.h:99


function
Rendering::AlphaTestParameters::getReferenceValue

public const inline
   
   
float getReferenceValue( ) const

Defined in Rendering/RenderingContext/RenderingParameters.h:102


function
Rendering::AlphaTestParameters::getMode

public const inline
   
   
Comparison::function_t getMode( ) const

Defined in Rendering/RenderingContext/RenderingParameters.h:105


function
Rendering::AlphaTestParameters::setReferenceValue

public inline
     
     
void setReferenceValue( float _refValue )

Defined in Rendering/RenderingContext/RenderingParameters.h:108


function
Rendering::AlphaTestParameters::setMode

public inline
     
     
void setMode( Comparison::function_t _mode )

Defined in Rendering/RenderingContext/RenderingParameters.h:111