NVIDIA IndeX API nvidia_logo_transpbg.gif Up
idepth_offset.h
Go to the documentation of this file.
1/******************************************************************************
2 * Copyright 2023 NVIDIA Corporation. All rights reserved.
3 *****************************************************************************/
6
7#ifndef NVIDIA_INDEX_IDEPTH_OFFSET_H
8#define NVIDIA_INDEX_IDEPTH_OFFSET_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
31 public mi::base::Interface_declare<0x09b90263,0x58b2,0x4be4,0xbf,0xb1,0xae,0xd1,0xae,0xab,0xbc,0x95,
32 nv::index::IAttribute>
33{
34public:
38 virtual void set_depth_offset(mi::Float32 offset) = 0;
39
43 virtual mi::Float32 get_depth_offset() const = 0;
44};
45
46}} // namespace index / nv
47
48#endif // NVIDIA_INDEX_IDEPTH_OFFSET_H
Defines the depth-offset for shapes following this attribute in the scene description.
Definition: idepth_offset.h:33
virtual void set_depth_offset(mi::Float32 offset)=0
Set depth-offset value of this attribute.
virtual mi::Float32 get_depth_offset() const =0
Get current depth-offset value 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