]>
Dogcows Code - chaz/rasterize/blob - scene.hh
3 * CS5600 University of Utah
5 * mcgarvey@eng.utah.edu
18 typedef struct scene scene_t
;
21 * Allocate a scene by reading in data from a file.
23 scene_t
* scene_alloc(FILE* file
);
28 void scene_destroy(scene_t
* s
);
32 * Get the elements of a scene.
34 list_t
* scene_elements(const scene_t
* s
);
37 * Get the lights of a scene.
39 list_t
* scene_lights(const scene_t
* s
);
42 * Get the ambient light color of the scene.
44 color_t
scene_ambient(const scene_t
* s
);
48 * Render a scene to an in-memory raster. The caller takes ownership of the
49 * returned object and must destroy it when it is no longer needed.
51 raster_t
* scene_render(const scene_t
* s
);
This page took 0.033833 seconds and 4 git commands to generate.