|
tinypbrt 1.1.1
pbrt-v4 scene file parser for C11 with a header-only C++20 wrapper
|
Go to the source code of this file.
Macros | |
| #define | _TINYPBRT_FWD_H_ |
| #define | TPBRT_NULL NULL |
| NULL value. | |
| #define | TPBRT_FALSE 0 |
| False value. | |
| #define | TPBRT_TRUE 1 |
| True value. | |
| #define | TPBRT_ANONYMOUS_UNION union |
Anonymous union holding anonymous structs (TPBRT_ANONYMOUS_UNION { struct { float x, y; }; float v[2]; }). | |
| #define | TPBRT_IDX_INVALID (~(tpbrt_idx_t)0) |
| Invalid index. | |
| #define | TPBRT_TRANSFORM_IDX_INVALID TPBRT_IDX_INVALID |
| Invalid transform index. | |
| #define | TPBRT_TEXTURE_IDX_INVALID TPBRT_IDX_INVALID |
| Invalid texture index. | |
| #define | TPBRT_OBJECT_IDX_INVALID TPBRT_IDX_INVALID |
| Invalid object index. | |
| #define | TPBRT_MEDIA_IDX_INVALID TPBRT_IDX_INVALID |
| Invalid media index. | |
| #define | TPBRT_MATERIAL_IDX_INVALID TPBRT_IDX_INVALID |
| Invalid material index. | |
| #define | TPBRT_AREA_LIGHT_IDX_INVALID TPBRT_IDX_INVALID |
| Invalid area light index. | |
Typedefs | |
| typedef char | tpbrt_char_t |
| Char type. | |
| typedef unsigned char | tpbrt_uchar_t |
| Unsigned char type. | |
| typedef uint8_t | tpbrt_bool_t |
| Bool type. | |
| typedef int32_t | tpbrt_int_t |
| Int type. | |
| typedef uint32_t | tpbrt_uint_t |
| Unsigned int type. | |
| typedef float | tpbrt_float_t |
| Float type. | |
| typedef double | tpbrt_double_t |
| Double type. | |
| typedef size_t | tpbrt_size_t |
| Size type. | |
| typedef long | tpbrt_long_t |
| Long type. | |
| typedef unsigned long | tpbrt_ulong_t |
| Unsigned long type. | |
| typedef long long | tpbrt_longlong_t |
| Long long type. | |
| typedef unsigned long long | tpbrt_ulonglong_t |
| Unsigned long long type. | |
| typedef tpbrt_uint_t | tpbrt_idx_t |
| Index type. | |
| typedef tpbrt_vec2_t | tpbrt_point2_t |
| 2 component point. | |
| typedef tpbrt_vec3_t | tpbrt_vec_t |
| Vector. | |
| typedef tpbrt_vec3_t | tpbrt_point3_t |
| 3 component point. | |
| typedef tpbrt_point3_t | tpbrt_point_t |
| Point. | |
| typedef tpbrt_vec3_t | tpbrt_normal3_t |
| 3 component normal. | |
| typedef tpbrt_normal3_t | tpbrt_normal_t |
| Normal. | |
| typedef tpbrt_vec2_array_t | tpbrt_point2_array_t |
| Array of 2 component points. | |
| typedef tpbrt_vec3_array_t | tpbrt_vec_array_t |
| Array of vectors. | |
| typedef tpbrt_vec3_array_t | tpbrt_point3_array_t |
| Array of 3 component points. | |
| typedef tpbrt_point3_array_t | tpbrt_point_array_t |
| Array of points. | |
| typedef tpbrt_vec3_array_t | tpbrt_normal3_array_t |
| Array of 3 component normals. | |
| typedef tpbrt_normal3_array_t | tpbrt_normal_array_t |
| Array of normals. | |
| typedef tpbrt_vec4_t | tpbrt_mat4_row_t |
| 4 by 4 matrix row type. | |
| typedef tpbrt_idx_t | tpbrt_transform_idx_t |
| Transform index. | |
| typedef tpbrt_idx_t | tpbrt_texture_idx_t |
| Texture index type. | |
| typedef tpbrt_idx_t | tpbrt_object_idx_t |
| Object index type. | |
| typedef tpbrt_idx_t | tpbrt_media_idx_t |
| Media index type. | |
| typedef tpbrt_idx_t | tpbrt_material_idx_t |
| Material index type. | |
| typedef tpbrt_idx_t | tpbrt_area_light_idx_t |
| Area light index type. | |
| typedef tpbrt_float_t | tpbrt_blackbody_t |
| Blackbody temperature type. | |
| typedef tpbrt_vec3_t | tpbrt_rgb_t |
| RGB type. | |
| typedef tpbrt_vec3_array_t | tpbrt_rgb_array_t |
| Array of rgb type. | |
| #define _TINYPBRT_FWD_H_ |