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

Texture handle. More...

#include <tinypbrt/detail/texture.h>

Data Fields

union { 
 
   tpbrt_texture_idx_t   texture_idx 
 Texture index. More...
 
   tpbrt_spectrum_t   spectrum 
 Spectrum. More...
 
} as 
 Value dependent on value_type value.
 
tpbrt_texture_handle_value_type_t value_type: 3
 Texture handle value type.
 

Detailed Description

Texture handle.

Field Documentation

◆ texture_idx

tpbrt_texture_idx_t tpbrt_texture_handle_t::texture_idx

Texture index.

◆ spectrum

tpbrt_spectrum_t tpbrt_texture_handle_t::spectrum

Spectrum.

◆ [union]

union { ... } tpbrt_texture_handle_t::as

Value dependent on value_type value.

◆ value_type

tpbrt_texture_handle_value_type_t tpbrt_texture_handle_t::value_type

Texture handle value type.


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