|
Voxvision
1
Creating and manipulating voxel octrees
|
A renderer context. More...
#include <renderer.h>
Data Fields | |
| SDL_Window * | window |
| A window associated with the context, if any. | |
| SDL_Surface * | surface |
| A surface the context will draw to. | |
| struct vox_node * | scene |
| A scene associated with the context. More... | |
| struct vox_camera * | camera |
| A camera associated with the context. More... | |
| struct vox_light_manager * | light_manager |
| A light manager associated with the context. More... | |
A renderer context.
| struct vox_camera* vox_rnd_ctx::camera |
A camera associated with the context.
To set this value, use vox_context_set_camera() rather than writing to this field directly.
| struct vox_light_manager* vox_rnd_ctx::light_manager |
A light manager associated with the context.
To set this value, use vox_context_set_light_manager() rather than writing to this field directly.
| struct vox_node* vox_rnd_ctx::scene |
A scene associated with the context.
To set this value, use vox_context_set_scene() rather than writing to this field directly.