#include <alphatest.h>
◆ DiscardTest
Enumerator |
---|
LESS | |
LEQUAL | |
EQUAL | |
GEQUAL | |
GREATER | |
NOTEQUAL | |
◆ AlphaTest()
Color::Function::AlphaTest::AlphaTest |
( |
DiscardTest | discardTest, |
|
|
float | discardReference, |
|
|
const Attribute & | attribute ) |
- Parameters
-
The | logical test to perform for a given texel. |
The | reference value the test performs against. |
◆ ~AlphaTest()
virtual Color::Function::AlphaTest::~AlphaTest |
( |
| ) |
|
|
virtual |
◆ addShaderCode()
virtual void Color::Function::AlphaTest::addShaderCode |
( |
Material * | pMaterial | ) |
|
|
virtual |
◆ addShaderResources()
virtual void Color::Function::AlphaTest::addShaderResources |
( |
Material * | pMaterial | ) |
|
|
virtual |
◆ create()
virtual void Color::Function::AlphaTest::create |
( |
Material * | pMaterial | ) |
|
|
virtual |
◆ setDiscardReference()
void Color::Function::AlphaTest::setDiscardReference |
( |
float | discardReference | ) |
|
◆ setDiscardTest()
void Color::Function::AlphaTest::setDiscardTest |
( |
DiscardTest | discardTest | ) |
|
◆ update()
virtual void Color::Function::AlphaTest::update |
( |
Material * | pMaterial | ) |
|
|
virtual |
The documentation for this class was generated from the following file: