Claude Chappe' Curse - A C Game
Logo Institut d'Informatique Claude Chappe Logo Université de Le Mans Logo Raeptor Production
 
Loading...
Searching...
No Matches
render.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  WorldShaders
 A structure to hold various shaders used in the rendering process. More...
 

Functions

void render_scene (struct Window *window, struct Node *node, struct Camera *c, mat4 modelMatrix, Shader activeShader, struct WorldShaders *shaders, int viewportWidth, int viewportHeight)
 Renders the scene using the specified shader.
 
void draw_shadow_map (struct Window *window, struct Node *root, struct Camera *c, struct WorldShaders *shaders, struct DepthMap *depthMap)
 Draws the shadow map for the scene.
 
void draw_scene (struct Window *window, struct Node *root, struct Camera *c, struct WorldShaders *shaders, struct DepthMap *depthMap)
 Draws the entire scene.
 
void draw_screen (struct Window *window, struct Node *scene, struct Camera *c, WorldShaders *shaders, struct DepthMap *depthMap, struct Mesh *screenPlane)
 Draws the final screen output.