tinypbrt 1.1.1
pbrt-v4 scene file parser for C11 with a header-only C++20 wrapper
Loading...
Searching...
No Matches
tpbrt_media_scattering_t Struct Reference

Media scattering. More...

#include <tinypbrt/detail/media.h>

Data Fields

union { 
 
   struct { 
 
      tpbrt_spectrum_t   a 
 The absorption cross section. More...
 
      tpbrt_spectrum_t   s 
 The scattering cross section. More...
 
   }   sigma 
 
   tpbrt_scattering_builtin_t   preset 
 Named measured scattering medium properties to use. More...
 
} as 
 Scattering value dependent on type value.
 
tpbrt_media_scattering_value_t type: 3
 Scattering value type.
 

Detailed Description

Media scattering.

Field Documentation

◆ a

tpbrt_spectrum_t tpbrt_media_scattering_t::a

The absorption cross section.

◆ s

tpbrt_spectrum_t tpbrt_media_scattering_t::s

The scattering cross section.

◆ [struct]

struct { ... } tpbrt_media_scattering_t::sigma

◆ preset

tpbrt_scattering_builtin_t tpbrt_media_scattering_t::preset

Named measured scattering medium properties to use.

◆ [union]

union { ... } tpbrt_media_scattering_t::as

Scattering value dependent on type value.

◆ type

tpbrt_media_scattering_value_t tpbrt_media_scattering_t::type

Scattering value type.


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