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

Depth buffer provided by an application, enabling NVIDIA IndeX to do depth-correct compositing with a rendering performed by the application. More...

#include <iapplication_depth_buffer.h>

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

Public Member Functions

virtual mi::math::Vector_struct< mi::Uint32, 2 > get_resolution () const =0
 Returns the resolution of the depth buffer. More...
 

Detailed Description

Depth buffer provided by an application, enabling NVIDIA IndeX to do depth-correct compositing with a rendering performed by the application.

The application will do its rendering first and then call IIndex_rendering::render(), passing the depth buffer. The rendering result returned by NVIDIA IndeX can then be alpha-blended for the application's rendering to get a correctly composited result.

Member Function Documentation

 get_resolution()

virtual mi::math::Vector_struct< mi::Uint32, 2 > nv::index::IApplication_depth_buffer::get_resolution ( ) const
pure virtual

Returns the resolution of the depth buffer.

Returns
resolution (width, height) in pixels

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