2025-03-22 23:25:21 -06:00
|
|
|
#ifndef ARC_SDL_RENDERER_H_
|
|
|
|
|
#define ARC_SDL_RENDERER_H_
|
|
|
|
|
|
2025-04-04 03:45:53 -06:00
|
|
|
#include "arc/graphics/color.h"
|
2025-03-22 23:25:21 -06:00
|
|
|
#include "arc/graphics/renderer.h"
|
|
|
|
|
#include "arc/graphics/window.h"
|
2025-04-04 03:45:53 -06:00
|
|
|
#include "arc/std/hashtable.h"
|
2025-03-22 23:25:21 -06:00
|
|
|
#include <SDL3/SDL.h>
|
|
|
|
|
|
2025-04-04 03:45:53 -06:00
|
|
|
typedef struct ARC_RendererType {
|
|
|
|
|
SDL_Renderer *renderer;
|
|
|
|
|
|
|
|
|
|
ARC_Hashtable *buffers;
|
|
|
|
|
|
|
|
|
|
ARC_Color clearColor;
|
|
|
|
|
} ARC_RendererType;
|
2025-03-22 23:25:21 -06:00
|
|
|
|
|
|
|
|
#endif // !ARC_SDL_RENDERER_H_
|