Operation Null Mind 0.4.1
A 2D roguelike top down shooter game made with SDL2
 
Loading...
Searching...
No Matches
app_render.c File Reference

Main rendering pipeline. More...

#include <app.h>
#include <particle_emitterpresets.h>
#include <player.h>
#include <debug.h>
#include <bullet.h>
#include <input.h>
#include <enemy_libet.h>
#include <controls.h>
#include <win.h>

Functions

int App_RenderMain ()
 [Render] Handles the main rendering of the game, like players, game environments, etc.
 
int App_Render ()
 [Render] Renders the current frame of the game.
 

Detailed Description

Main rendering pipeline.

Manages the overall rendering process for the game, coordinating which elements are drawn based on the current game state and scene.

Author
Mango
Date
2025-03-03

Function Documentation

◆ App_Render()

int App_Render ( )

[Render] Renders the current frame of the game.

Renders the current scene to the screen.

Includes the main rendering function and the final rendering to the window. This function is called every frame after all the updating is complete.

Returns
int Status code (0 for success)

◆ App_RenderMain()

int App_RenderMain ( )

[Render] Handles the main rendering of the game, like players, game environments, etc.

This function is called inside App_Render().

Returns
int Status code (0 for success)