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

UV texture mapping parameters. More...

#include <tinypbrt/detail/texture.h>

Data Fields

tpbrt_float_t u_scale
 Scaling factor to be applied to the u texture coordinates.
 
tpbrt_float_t v_scale
 Scaling factor to be applied to the v texture coordinates.
 
tpbrt_float_t u_delta
 An offset to be applied to the u texture coordinates. This offset is applied after any scaling from "uscale".
 
tpbrt_float_t v_delta
 An offset to be applied to the v texture coordinates. This offset is applied after any scaling from "vscale".
 

Detailed Description

UV texture mapping parameters.

Field Documentation

◆ u_scale

tpbrt_float_t tpbrt_texture_mapping_uv_params_t::u_scale

Scaling factor to be applied to the u texture coordinates.

Examples
examples/materials/main.c.

◆ v_scale

tpbrt_float_t tpbrt_texture_mapping_uv_params_t::v_scale

Scaling factor to be applied to the v texture coordinates.

Examples
examples/materials/main.c.

◆ u_delta

tpbrt_float_t tpbrt_texture_mapping_uv_params_t::u_delta

An offset to be applied to the u texture coordinates. This offset is applied after any scaling from "uscale".

◆ v_delta

tpbrt_float_t tpbrt_texture_mapping_uv_params_t::v_delta

An offset to be applied to the v texture coordinates. This offset is applied after any scaling from "vscale".


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