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

Loop subdiv parameters. More...

#include <tinypbrt/detail/shape.h>

Data Fields

tpbrt_uint_array_t indices
 Indices for the base mesh. Indexing is the same as for the triangle mesh primitive.
 
tpbrt_point_array_t p
 Vertex positions for the base mesh. This is the same as for the triangle mesh primitive.
 
tpbrt_uint_t levels
 The number of levels of refinement to compute in the subdivision algorithm.
 

Detailed Description

Loop subdiv parameters.

Field Documentation

◆ indices

tpbrt_uint_array_t tpbrt_shape_loop_subdiv_params_t::indices

Indices for the base mesh. Indexing is the same as for the triangle mesh primitive.

◆ p

tpbrt_point_array_t tpbrt_shape_loop_subdiv_params_t::p

Vertex positions for the base mesh. This is the same as for the triangle mesh primitive.

◆ levels

tpbrt_uint_t tpbrt_shape_loop_subdiv_params_t::levels

The number of levels of refinement to compute in the subdivision algorithm.


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