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

Checkerboard texture parameters. More...

#include <tinypbrt/detail/texture.h>

Data Fields

tpbrt_texture_handle_t tex1
 The texture to use for even checks.
 
tpbrt_texture_handle_t tex2
 The texture to use for odd checks.
 
tpbrt_uint_t dimension
 Sets the dimension of the checkerboard texture. Legal values are 2 and 3.
 

Detailed Description

Checkerboard texture parameters.

Field Documentation

◆ tex1

tpbrt_texture_handle_t tpbrt_texture_checkerboard_params_t::tex1

The texture to use for even checks.

Examples
examples/materials/main.c.

◆ tex2

tpbrt_texture_handle_t tpbrt_texture_checkerboard_params_t::tex2

The texture to use for odd checks.

Examples
examples/materials/main.c.

◆ dimension

tpbrt_uint_t tpbrt_texture_checkerboard_params_t::dimension

Sets the dimension of the checkerboard texture. Legal values are 2 and 3.


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