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

PBRT Accelerator representation. More...

#include <tinypbrt/detail/accelerator.h>

Data Fields

union { 
 
   tpbrt_accelerator_bvh_params_t   bvh 
 BVH accelerator parameters. More...
 
   tpbrt_accelerator_kd_tree_params_t   kd_tree 
 KD Tree accelerator parameters. More...
 
} as 
 Initialized value dependent on current type.
 
tpbrt_accelerator_type_t type: 3
 Accelerator type.
 

Detailed Description

PBRT Accelerator representation.

Field Documentation

◆ bvh

tpbrt_accelerator_bvh_params_t tpbrt_accelerator_t::bvh

BVH accelerator parameters.

◆ kd_tree

tpbrt_accelerator_kd_tree_params_t tpbrt_accelerator_t::kd_tree

KD Tree accelerator parameters.

◆ [union]

union { ... } tpbrt_accelerator_t::as

Initialized value dependent on current type.

◆ type

tpbrt_accelerator_type_t tpbrt_accelerator_t::type

Accelerator type.

Examples
examples/scene_info/main.c.

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