summaryrefslogtreecommitdiff
path: root/src/modules/ray/ray_render.h
blob: dfd769fa4a4658ba64a8cd1910c455415f8936cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef _RAY_RENDER_H
#define _RAY_RENDER_H

#include "fb.h"

#include "ray_camera.h"
#include "ray_scene.h"

typedef struct ray_render_t ray_render_t;

ray_render_t * ray_render_new(const ray_scene_t *scene, const ray_camera_t *camera);
void ray_render_free(ray_render_t *render);
void ray_render_trace_fragment(ray_render_t *render, fb_fragment_t *fb_fragment);

#endif
© All Rights Reserved