refactor: header file for every module

This commit is contained in:
2026-09-19 13:11:53 +02:00
parent b26070a518
commit dda0d38e22
36 changed files with 968 additions and 272 deletions
+21
View File
@@ -0,0 +1,21 @@
#ifndef ENGINE_POSTFX_H
#define ENGINE_POSTFX_H
#include <raylib.h>
typedef struct {
Shader shader;
int resolutionLoc;
int strengthLoc;
int timeLoc;
float strength;
float time;
} PostProcessing;
PostProcessing CreatePostFX(const char *shaderPath);
void UpdatePostFX(PostProcessing *postFX);
void UpdateShaders(PostProcessing *postFX, int count);
void RenderPostFX(PostProcessing *postFX, RenderTexture2D *target);
void UnloadPostFX(PostProcessing *postFX);
#endif // ENGINE_POSTFX_H