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

Mix texture parameters. More...

#include <tinypbrt/detail/texture.h>

Data Fields

tpbrt_texture_handle_t tex1
 One of the two textures to be mixed.
 
tpbrt_texture_handle_t tex2
 The other texture to be mixed. These two textures must be of the same type (float or spectrum).
 
tpbrt_texture_handle_t amount
 The amount to use when linearly interpolating between the two mix textures.
 

Detailed Description

Mix texture parameters.

Field Documentation

◆ tex1

tpbrt_texture_handle_t tpbrt_texture_mix_params_t::tex1

One of the two textures to be mixed.

◆ tex2

tpbrt_texture_handle_t tpbrt_texture_mix_params_t::tex2

The other texture to be mixed. These two textures must be of the same type (float or spectrum).

◆ amount

tpbrt_texture_handle_t tpbrt_texture_mix_params_t::amount

The amount to use when linearly interpolating between the two mix textures.


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