Defines a depth test for the shapes defined in the scene description. More...
#include <idepth_test.h>
Inherits mi::base::Interface_declare< 0xa8a4d29c, ... >.
Public Types | |
enum | Depth_test_mode { TEST_LESS = 0 , TEST_LESS_EQUAL = 1 } |
Depth test modes that are supported by NVIDIA IndeX. More... | |
Public Member Functions | |
virtual void | set_depth_test (Depth_test_mode test)=0 |
Set depth test operator of this attribute. More... | |
virtual Depth_test_mode | get_depth_test () const =0 |
Get current depth test operator of this attribute. More... | |
Defines a depth test for the shapes defined in the scene description.
Similar to the depth tests in OpenGL, NVIDIA IndeX allows the application to define the depth ordering of shapes on a 'per-fragment' level. The depth test operation represents an attribute in the scene description and has an effect on all the shapes that are defined subsequently in the hierarchical description of the scene.
|
pure virtual |
Get current depth test operator of this attribute.
|
pure virtual |
Set depth test operator of this attribute.
The default depth test operation is TEST_LESS_EQUAL.
[in] | test | The parameter defines the depth test operator. |