102

Controlling appearance
RenderingAttributes Class Methods

Method Default
RenderingAttributes( ) -
void setDepthBufferEnable( boolean state ) true
void setDepthBufferWriteEnable( boolean state ) true
void setAlphaTestFunction( int func ) ALWAYS
void setAlphaTestValue( float value ) 0.0

  • Alpha test functions include: ALWAYS, NEVER, EQUAL, NOT_EQUAL, LESS, LESS_OR_EQUAL, GREATER, and GREATER_OR_EQUAL