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

PBRT filter representation. More...

#include <tinypbrt/detail/filter.h>

Data Fields

tpbrt_float_t x_radius
 The width of the filter in the x direction.
 
tpbrt_float_t y_radius
 The width of the filter in the y direction.
 
union { 
 
   tpbrt_filter_gaussian_params_t   gaussian 
 Gaussian parameters. More...
 
   tpbrt_filter_mitchell_params_t   mitchell 
 Mitchell parameters. More...
 
   tpbrt_filter_sinc_params_t   sinc 
 Sinc parameters. More...
 
} as 
 Value dependent on type value.
 
tpbrt_filter_type_t type: 4
 filter type.
 

Detailed Description

PBRT filter representation.

Field Documentation

◆ x_radius

tpbrt_float_t tpbrt_filter_t::x_radius

The width of the filter in the x direction.

Examples
examples/scene_info/main.c.

◆ y_radius

tpbrt_float_t tpbrt_filter_t::y_radius

The width of the filter in the y direction.

Examples
examples/scene_info/main.c.

◆ gaussian

tpbrt_filter_gaussian_params_t tpbrt_filter_t::gaussian

Gaussian parameters.

◆ mitchell

tpbrt_filter_mitchell_params_t tpbrt_filter_t::mitchell

Mitchell parameters.

◆ sinc

tpbrt_filter_sinc_params_t tpbrt_filter_t::sinc

Sinc parameters.

◆ [union]

union { ... } tpbrt_filter_t::as

Value dependent on type value.

◆ type

tpbrt_filter_type_t tpbrt_filter_t::type

filter type.

Examples
examples/scene_info/main.c.

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