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

Subsurface material scattering. More...

#include <tinypbrt/detail/material.h>

Data Fields

union { 
 
   struct { 
 
      tpbrt_texture_handle_t   a 
 Absorption coefficient of the volume, measured in mm^-1. More...
 
      tpbrt_texture_handle_t   s 
 Scattering coefficient of the volume, measured in mm^-1. More...
 
   }   sigma 
 
   tpbrt_scattering_builtin_t   builtin 
 Name of measured subsurface scattering coefficients. More...
 
} as 
 Scattering value dependent on type value.
 
tpbrt_material_subsurface_scattering_value_t type: 3
 Scattering value type.
 

Detailed Description

Subsurface material scattering.

Field Documentation

◆ a

tpbrt_texture_handle_t tpbrt_material_subsurface_scattering_t::a

Absorption coefficient of the volume, measured in mm^-1.

◆ s

tpbrt_texture_handle_t tpbrt_material_subsurface_scattering_t::s

Scattering coefficient of the volume, measured in mm^-1.

◆ [struct]

struct { ... } tpbrt_material_subsurface_scattering_t::sigma

◆ builtin

tpbrt_scattering_builtin_t tpbrt_material_subsurface_scattering_t::builtin

Name of measured subsurface scattering coefficients.

◆ [union]

union { ... } tpbrt_material_subsurface_scattering_t::as

Scattering value dependent on type value.

◆ type

tpbrt_material_subsurface_scattering_value_t tpbrt_material_subsurface_scattering_t::type

Scattering value type.


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