NVIDIA IndeX API nvidia_logo_transpbg.gif Up
idepth_test.h
Go to the documentation of this file.
1/******************************************************************************
2 * Copyright 2023 NVIDIA Corporation. All rights reserved.
3 *****************************************************************************/
6
7#ifndef NVIDIA_INDEX_IDEPTH_TEST_H
8#define NVIDIA_INDEX_IDEPTH_TEST_H
9
10#include <mi/base/interface_declare.h>
11#include <mi/dice.h>
12
13#include <nv/index/iattribute.h>
14
15namespace nv
16{
17namespace index
18{
19
30 public mi::base::Interface_declare<0xa8a4d29c,0x4a2d,0x456a,0xa2,0x73,0x4d,0x5e,0x3b,0x27,0x31,0xd5,
31 nv::index::IAttribute>
32{
33public:
36 {
41 };
42
43public:
49 virtual void set_depth_test(Depth_test_mode test) = 0;
50
55 virtual Depth_test_mode get_depth_test() const = 0;
56};
57
58}} // namespace index / nv
59
60#endif // NVIDIA_INDEX_IDEPTH_TEST_H
Defines a depth test for the shapes defined in the scene description.
Definition: idepth_test.h:32
virtual void set_depth_test(Depth_test_mode test)=0
Set depth test operator of this attribute.
Depth_test_mode
Depth test modes that are supported by NVIDIA IndeX.
Definition: idepth_test.h:36
@ TEST_LESS
z-test less operator (<)
Definition: idepth_test.h:38
@ TEST_LESS_EQUAL
z-test less than or equal operator (<=)
Definition: idepth_test.h:40
virtual Depth_test_mode get_depth_test() const =0
Get current depth test operator of this attribute.
Base class representing attributes that can be defined in a scene description.
Common namespace for all NVIDIA APIs.
Definition: iindex.h:349