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

PTEX texture parameters. More...

#include <tinypbrt/detail/texture.h>

Data Fields

tpbrt_opt_float_t gamma
 Gamma exponent.
 
tpbrt_string_t file_name
 Filename of the Ptex texture to use.
 
tpbrt_float_t scale
 Scale factor applied to texture values.
 
tpbrt_texture_encoding_t encoding: 3
 Specifies how to convert 8-bit color values from the texture to floating point values between 0 and 1.
 

Detailed Description

PTEX texture parameters.

Field Documentation

◆ gamma

tpbrt_opt_float_t tpbrt_texture_ptex_params_t::gamma

Gamma exponent.

◆ file_name

tpbrt_string_t tpbrt_texture_ptex_params_t::file_name

Filename of the Ptex texture to use.

◆ scale

tpbrt_float_t tpbrt_texture_ptex_params_t::scale

Scale factor applied to texture values.

◆ encoding

tpbrt_texture_encoding_t tpbrt_texture_ptex_params_t::encoding

Specifies how to convert 8-bit color values from the texture to floating point values between 0 and 1.


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