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

BVH accelerator parameters. More...

#include <tinypbrt/detail/accelerator.h>

Data Fields

tpbrt_uint_t max_node_prims
 Maximum number of primitives to allow in a node in the tree.
 
tpbrt_accelerator_bvh_split_method_t split_method: 4
 Method to use to partition the primitives when building the tree.
 

Detailed Description

BVH accelerator parameters.

Field Documentation

◆ max_node_prims

tpbrt_uint_t tpbrt_accelerator_bvh_params_t::max_node_prims

Maximum number of primitives to allow in a node in the tree.

◆ split_method

tpbrt_accelerator_bvh_split_method_t tpbrt_accelerator_bvh_params_t::split_method

Method to use to partition the primitives when building the tree.


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