|
Panda3D
|
Enables or disables writing of pixel to framebuffer based on its alpha value relative to a reference alpha value. More...
Public Member Functions | |
| PandaCompareFunc | getMode () |
| Returns the alpha write mode. | |
| float | getReferenceAlpha () |
| Returns the alpha reference value. | |
Static Public Member Functions | |
| static int | getClassSlot () |
| static TypeHandle | getClassType () |
| static RenderAttrib const | make (PandaCompareFunc mode, float reference_alpha) |
| Constructs a new AlphaTestAttrib object. | |
| static RenderAttrib const | makeDefault () |
| Returns a RenderAttrib that corresponds to whatever the standard default properties for render attributes of this type ought to be. | |
Enables or disables writing of pixel to framebuffer based on its alpha value relative to a reference alpha value.
| static int getClassSlot | ( | ) | [static] |
| static TypeHandle getClassType | ( | ) | [static] |
Reimplemented from RenderAttrib.
| PandaCompareFunc getMode | ( | ) |
Returns the alpha write mode.
| float getReferenceAlpha | ( | ) |
Returns the alpha reference value.
| static RenderAttrib const make | ( | PandaCompareFunc | mode, |
| float | reference_alpha | ||
| ) | [static] |
Constructs a new AlphaTestAttrib object.
| static RenderAttrib const makeDefault | ( | ) | [static] |
Returns a RenderAttrib that corresponds to whatever the standard default properties for render attributes of this type ought to be.
1.7.3