Input and output structure for BSDF sampling data. More...
#include <target_code_types.h>
Public Attributes | |
tct_float3 | ior1 |
mutual input: IOR current medium More... | |
tct_float3 | ior2 |
mutual input: IOR other side More... | |
tct_float3 | k1 |
mutual input: outgoing direction More... | |
tct_float3 | k2 |
output: incoming direction More... | |
tct_float4 | xi |
input: pseudo-random sample numbers in range [0, 1) More... | |
tct_float | |
output: pdf (non-projected hemisphere) More... | |
tct_float3 | bsdf_over_pdf |
output: bsdf * dot(normal, k2) / pdf More... | |
Bsdf_event_type | event_type |
output: the type of event for the generated sample More... | |
tct_int | handle |
output: handle of the sampled elemental BSDF (lobe) More... | |
Df_flags | flags |
input: flags controlling calculation of result (optional depending on backend options) More... | |
Input and output structure for BSDF sampling data.
tct_float3 mi::neuraylib::Bsdf_sample_data::bsdf_over_pdf |
output: bsdf * dot(normal, k2) / pdf
Bsdf_event_type mi::neuraylib::Bsdf_sample_data::event_type |
output: the type of event for the generated sample
Df_flags mi::neuraylib::Bsdf_sample_data::flags |
input: flags controlling calculation of result (optional depending on backend options)
tct_int mi::neuraylib::Bsdf_sample_data::handle |
output: handle of the sampled elemental BSDF (lobe)
tct_float3 mi::neuraylib::Bsdf_sample_data::ior1 |
mutual input: IOR current medium
tct_float3 mi::neuraylib::Bsdf_sample_data::ior2 |
mutual input: IOR other side
tct_float3 mi::neuraylib::Bsdf_sample_data::k1 |
mutual input: outgoing direction
tct_float3 mi::neuraylib::Bsdf_sample_data::k2 |
output: incoming direction
tct_float mi::neuraylib::Bsdf_sample_data::pdf |
output: pdf (non-projected hemisphere)
tct_float4 mi::neuraylib::Bsdf_sample_data::xi |
input: pseudo-random sample numbers in range [0, 1)