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

Go to the source code of this file.

Data Structures

struct  tpbrt_scene_t
 PBRT scene representation. More...
 

Macros

#define _TINYPBRT_SCENE_H_
 

Functions

tpbrt_error_t tpbrt_scene_load_from_file (const tpbrt_char_t *filepath, tpbrt_scene_t *out_scene)
 Loads scene from given file.
 
tpbrt_error_t tpbrt_scene_load_from_memory (const tpbrt_char_t *data, const tpbrt_char_t *working_directory, tpbrt_scene_t *out_scene)
 Loads scene from memory (provided string).
 
void tpbrt_scene_free (tpbrt_scene_t *scene)
 Free all scene resources.
 

Macro Definition Documentation

◆ _TINYPBRT_SCENE_H_

#define _TINYPBRT_SCENE_H_