NVIDIA IndeX API nvidia_logo_transpbg.gif Up
nv::index::IDepth_offset Class Referenceabstract

Defines the depth-offset for shapes following this attribute in the scene description. More...

#include <idepth_offset.h>

Inherits mi::base::Interface_declare< 0x09b90263, ... >.

Public Member Functions

virtual void set_depth_offset (mi::Float32 offset)=0
 Set depth-offset value of this attribute. More...
 
virtual mi::Float32 get_depth_offset () const =0
 Get current depth-offset value of this attribute. More...
 

Detailed Description

Defines the depth-offset for shapes following this attribute in the scene description.

The default depth offset is 0.0. This attribute only affects raster (2D) shapes.

Note
A shape rendering attribute provides the renderer with a hint from an application related to shape rendering. Such a hint could, for example, describe how the renderer should handle a numerical problem with a z-value.

Member Function Documentation

 get_depth_offset()

virtual mi::Float32 nv::index::IDepth_offset::get_depth_offset ( ) const
pure virtual

Get current depth-offset value of this attribute.

Returns
current depth-offset value

 set_depth_offset()

virtual void nv::index::IDepth_offset::set_depth_offset ( mi::Float32  offset)
pure virtual

Set depth-offset value of this attribute.

Parameters
[in]offsetdepth offset value

The documentation for this class was generated from the following file: