Material Definition Language API nvidia_logo_transpbg.gif Up
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
mi::neuraylib::Edf_sample_data Struct Reference

Input and output structure for EDF sampling data. More...

Public Attributes

tct_float4 xi
 input: pseudo-random sample number More...
 
tct_float3 k1
 output: outgoing direction More...
 
tct_float pdf
 output: pdf (non-projected hemisphere) More...
 
tct_float3 edf_over_pdf
 output: edf * dot(normal,k1) / pdf More...
 
Edf_event_type event_type
 output: the type of event for the generated sample More...
 
tct_int handle
 output: handle of the sampled elemental EDF (lobe) More...
 

Detailed Description

Input and output structure for EDF sampling data.

Member Data Documentation

tct_float3 mi::neuraylib::Edf_sample_data::edf_over_pdf

output: edf * dot(normal,k1) / pdf

Edf_event_type mi::neuraylib::Edf_sample_data::event_type

output: the type of event for the generated sample

tct_int mi::neuraylib::Edf_sample_data::handle

output: handle of the sampled elemental EDF (lobe)

tct_float3 mi::neuraylib::Edf_sample_data::k1

output: outgoing direction

tct_float mi::neuraylib::Edf_sample_data::pdf

output: pdf (non-projected hemisphere)

tct_float4 mi::neuraylib::Edf_sample_data::xi

input: pseudo-random sample number