NVIDIA IndeX API nvidia_logo_transpbg.gif Up

Sample information for surfaces. More...

#include <xac_interface_sample_info_doc.h>

Inheritance diagram for nv::index::xac::Sample_info_surface:
nv::index::xac::Sample_info nv::index::xac::Sample_info_height_field nv::index::xac::Sample_info_pipe_set nv::index::xac::Sample_info_plane nv::index::xac::Sample_info_triangle_mesh

Public Attributes

float3 sample_normal
 The direction of the surface normal at the current sample position. More...
 
float4 sample_color
 Input sample color of the surface at the current sample position. Is set to (0, 0, 0, 0) when undefined. More...
 
- Public Attributes inherited from nv::index::xac::Sample_info
float ray_t
 The distance (or depth) of the current sample position along the view ray. More...
 
float3 ray_origin
 Ray source position in scene space coordinates. More...
 
float3 ray_direction
 Ray direction in scene space coordinates. More...
 
float3 scene_position
 Position of the current sample point in scene space coordinates. More...
 

Detailed Description

Sample information for surfaces.

Member Data Documentation

 sample_color

float4 nv::index::xac::Sample_info_surface::sample_color

Input sample color of the surface at the current sample position. Is set to (0, 0, 0, 0) when undefined.

 sample_normal

float3 nv::index::xac::Sample_info_surface::sample_normal

The direction of the surface normal at the current sample position.


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