Voxvision  1
Creating and manipulating voxel octrees
Data Fields
vox_rnd_ctx Struct Reference

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_nodescene
 A scene associated with the context. More...
 
struct vox_cameracamera
 A camera associated with the context. More...
 
struct vox_light_manager * light_manager
 A light manager associated with the context. More...
 

Detailed Description

A renderer context.

Field Documentation

◆ camera

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.

◆ light_manager

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.

◆ scene

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.


The documentation for this struct was generated from the following file: