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

Conductor material parameters. More...

#include <tinypbrt/detail/material.h>

Data Fields

tpbrt_material_bump_map_params_t bump_map
 Bump map parameters.
 
union { 
 
   struct { 
 
      tpbrt_texture_handle_t   eta 
 The wavelength-dependent index of refraction of the conductor. More...
 
      tpbrt_texture_handle_t   k 
 The conductor's wavelength-dependent absorption coefficient. More...
 
   }   conductor 
 Holds conductor 'eta' and 'k' values. More...
 
   tpbrt_texture_handle_t   reflectance 
 Average reflectance of the conductor. Plausible values of "eta" and "k" are computed based on the reflectance if it is provided. More...
 
} as 
 Value dependent on value_type value.
 
tpbrt_material_roughness_params_t roughness_params
 Roughness parameters.
 
tpbrt_material_conductor_value_type_t value_type: 3
 Conductor's value type.
 

Detailed Description

Conductor material parameters.

Examples
examples/materials/main.c.

Field Documentation

◆ bump_map

tpbrt_material_bump_map_params_t tpbrt_material_conductor_params_t::bump_map

Bump map parameters.

◆ eta

tpbrt_texture_handle_t tpbrt_material_conductor_params_t::eta

The wavelength-dependent index of refraction of the conductor.

Examples
examples/materials/main.c.

◆ k

tpbrt_texture_handle_t tpbrt_material_conductor_params_t::k

The conductor's wavelength-dependent absorption coefficient.

Examples
examples/materials/main.c.

◆ [struct]

struct { ... } tpbrt_material_conductor_params_t::conductor

Holds conductor 'eta' and 'k' values.

Examples
examples/materials/main.c.

◆ reflectance

tpbrt_texture_handle_t tpbrt_material_conductor_params_t::reflectance

Average reflectance of the conductor. Plausible values of "eta" and "k" are computed based on the reflectance if it is provided.

Examples
examples/materials/main.c.

◆ [union]

union { ... } tpbrt_material_conductor_params_t::as

Value dependent on value_type value.

Examples
examples/materials/main.c.

◆ roughness_params

tpbrt_material_roughness_params_t tpbrt_material_conductor_params_t::roughness_params

Roughness parameters.

Examples
examples/materials/main.c.

◆ value_type

tpbrt_material_conductor_value_type_t tpbrt_material_conductor_params_t::value_type

Conductor's value type.

Examples
examples/materials/main.c.

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