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

Data Structures

struct  tpbrt_opt_float_t
 Optional float value. More...
 
struct  tpbrt_bool_array_t
 Array of bool values. More...
 
struct  tpbrt_int_array_t
 Array of int values. More...
 
struct  tpbrt_uint_array_t
 Array of uint values. More...
 
struct  tpbrt_float_array_t
 Array of float values. More...
 
struct  tpbrt_vec2_t
 2 component vector. More...
 
struct  tpbrt_vec3_t
 3 component vector. More...
 
struct  tpbrt_vec4_t
 4 component vector. More...
 
struct  tpbrt_vec2_array_t
 Array of 2 component vectors. More...
 
struct  tpbrt_vec3_array_t
 Array of 3 component vectors. More...
 
struct  tpbrt_mat4_t
 4 by 4 row-major matrix. More...
 
struct  tpbrt_mat4_animated_t
 Two 4 by 4 row-major matrices used for animations. More...
 

Macros

#define TPBRT_IDX_INVALID   (~(tpbrt_idx_t)0)
 Invalid index.
 

Typedefs

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.
 

Detailed Description

Macro Definition Documentation

◆ TPBRT_IDX_INVALID

#define TPBRT_IDX_INVALID   (~(tpbrt_idx_t)0)

Invalid index.

Typedef Documentation

◆ tpbrt_bool_t

typedef uint8_t tpbrt_bool_t

Bool type.

◆ tpbrt_int_t

typedef int32_t tpbrt_int_t

Int type.

◆ tpbrt_uint_t

typedef uint32_t tpbrt_uint_t

Unsigned int type.

◆ tpbrt_float_t

typedef float tpbrt_float_t

Float type.

◆ tpbrt_double_t

typedef double tpbrt_double_t

Double type.

◆ tpbrt_size_t

typedef size_t tpbrt_size_t

Size type.

◆ tpbrt_long_t

typedef long tpbrt_long_t

Long type.

◆ tpbrt_ulong_t

typedef unsigned long tpbrt_ulong_t

Unsigned long type.

◆ tpbrt_longlong_t

typedef long long tpbrt_longlong_t

Long long type.

◆ tpbrt_ulonglong_t

typedef unsigned long long tpbrt_ulonglong_t

Unsigned long long type.

◆ tpbrt_idx_t

Index type.

◆ tpbrt_point2_t

2 component point.

◆ tpbrt_vec_t

Vector.

◆ tpbrt_point3_t

3 component point.

◆ tpbrt_point_t

Point.

◆ tpbrt_normal3_t

3 component normal.

◆ tpbrt_normal_t

◆ tpbrt_point2_array_t

Array of 2 component points.

◆ tpbrt_vec_array_t

Array of vectors.

◆ tpbrt_point3_array_t

Array of 3 component points.

◆ tpbrt_point_array_t

Array of points.

◆ tpbrt_normal3_array_t

Array of 3 component normals.

◆ tpbrt_normal_array_t

Array of normals.

◆ tpbrt_mat4_row_t

4 by 4 matrix row type.