tinypbrt 1.1.1
pbrt-v4 scene file parser for C11 with a header-only C++20 wrapper
Loading...
Searching...
No Matches
common.h
Go to the documentation of this file.
1#pragma once
2#ifndef _TINYPBRT_COMMON_H_
3#define _TINYPBRT_COMMON_H_
4
6
7#ifdef __cplusplus
8extern "C" {
9#endif
10
26
37
50
51#ifdef __cplusplus
52}
53#endif
54#endif // _TINYPBRT_TYPES_H_
char tpbrt_char_t
Char type.
Definition fwd.h:51
size_t tpbrt_size_t
Size type.
Definition fwd.h:93
tpbrt_uint_t tpbrt_idx_t
Index type.
Definition fwd.h:119
uint32_t tpbrt_uint_t
Unsigned int type.
Definition fwd.h:78
Keeps name indexes for faster lookups.
Definition common.h:42
tpbrt_uint_t count
Slots count.
Definition common.h:48
tpbrt_idx_t * slots
Indexes.
Definition common.h:44
tpbrt_uint_t capacity
Slots capacity.
Definition common.h:46
Array of strings.
Definition common.h:31
tpbrt_string_t * data
Array data.
Definition common.h:33
tpbrt_size_t count
Array items count.
Definition common.h:35
Simple string representation (not always terminated with '\0', the size determines the length of the ...
Definition common.h:20
tpbrt_size_t size
String size.
Definition common.h:24
const tpbrt_char_t * data
String characters.
Definition common.h:22