|
tinypbrt 1.1.1
pbrt-v4 scene file parser for C11 with a header-only C++20 wrapper
|
Data Structures | |
| struct | tpbrt_texture_handle_t |
| Texture handle. More... | |
| struct | tpbrt_texture_bilerp_params_t |
| Bilerp texture parameters. More... | |
| struct | tpbrt_texture_checkerboard_params_t |
| Checkerboard texture parameters. More... | |
| struct | tpbrt_texture_constant_params_t |
| Constant texture parameters. More... | |
| struct | tpbrt_texture_direction_mix_params_t |
| Direction mix texture parameters. More... | |
| struct | tpbrt_texture_dots_params_t |
| Dots texture parameters. More... | |
| struct | tpbrt_texture_fbm_params_t |
| FBM texture parameters. More... | |
| struct | tpbrt_texture_image_map_params_t |
| Image map texture parameters. More... | |
| struct | tpbrt_texture_marble_params_t |
| Marble texture parameters. More... | |
| struct | tpbrt_texture_mix_params_t |
| Mix texture parameters. More... | |
| struct | tpbrt_texture_ptex_params_t |
| PTEX texture parameters. More... | |
| struct | tpbrt_texture_scale_params_t |
| Scale texture parameters. More... | |
| struct | tpbrt_texture_mapping_uv_params_t |
| UV texture mapping parameters. More... | |
| struct | tpbrt_texture_mapping_spherical_params_t |
| Spherical texture mapping parameters. More... | |
| struct | tpbrt_texture_mapping_planar_params_t |
| Planar texture mapping parameters. More... | |
| struct | tpbrt_texture_t |
| PBRT texture representation. More... | |
| struct | tpbrt_textures_list_t |
| List of textures. More... | |
Macros | |
| #define | TPBRT_TEXTURE_IDX_INVALID TPBRT_IDX_INVALID |
| Invalid texture index. | |
Typedefs | |
| typedef tpbrt_idx_t | tpbrt_texture_idx_t |
| Texture index type. | |
| typedef tpbrt_texture_fbm_params_t | tpbrt_texture_wrinkled_params_t |
| Wrinkled texture parameters. | |
| typedef tpbrt_texture_fbm_params_t | tpbrt_texture_windy_params_t |
| Windy texture parameters. | |
| typedef tpbrt_texture_mapping_spherical_params_t | tpbrt_texture_mapping_cylindrical_params_t |
| Cylindrical texture mapping parameters. | |
Functions | |
| tpbrt_error_t | tpbrt_get_texture_by_name (const tpbrt_textures_list_t *textures, tpbrt_string_t name, const tpbrt_texture_t **texture) |
| Returns pointer to texture with given name. | |
| tpbrt_error_t | tpbrt_get_texture_by_handle (const tpbrt_textures_list_t *textures, const tpbrt_texture_handle_t *handle, const tpbrt_texture_t **texture) |
| Returns pointer to texture to which handle is provided. | |
| #define TPBRT_TEXTURE_IDX_INVALID TPBRT_IDX_INVALID |
Invalid texture index.
| typedef tpbrt_idx_t tpbrt_texture_idx_t |
Texture index type.
Wrinkled texture parameters.
Windy texture parameters.
Cylindrical texture mapping parameters.
| enum tpbrt_texture_type_t |
Texture classes.
| enum tpbrt_texture_wrap_t |
Texture filter types.
Texture encoding types.
Texture mapping types.
| tpbrt_error_t tpbrt_get_texture_by_name | ( | const tpbrt_textures_list_t * | textures, |
| tpbrt_string_t | name, | ||
| const tpbrt_texture_t ** | texture | ||
| ) |
Returns pointer to texture with given name.
| textures | List of textures in which searched texture should be. |
| name | Name of the searched texture. |
| texture | Pointer in which pointer to texture will be stored (if not found this will be TPBRT_NULL). |
| tpbrt_error_t tpbrt_get_texture_by_handle | ( | const tpbrt_textures_list_t * | textures, |
| const tpbrt_texture_handle_t * | handle, | ||
| const tpbrt_texture_t ** | texture | ||
| ) |
Returns pointer to texture to which handle is provided.
| textures | List of textures in which texture given by handle should be. |
| handle | Handle to texture. |
| texture | Pointer in which pointer to texture will be stored (if not found this will be TPBRT_NULL). |