20 lines
475 B
C
20 lines
475 B
C
#ifndef _clay_renderer_SDL3_h
|
|
#define _clay_renderer_SDL3_h
|
|
|
|
#include <SDL3/SDL_main.h>
|
|
#include <SDL3/SDL.h>
|
|
#include <SDL3_ttf/SDL_ttf.h>
|
|
#include <SDL3_image/SDL_image.h>
|
|
#include <SDL3_gfx/SDL3_gfxPrimitives.h>
|
|
|
|
#include "clay.h"
|
|
|
|
typedef struct {
|
|
SDL_Renderer *renderer;
|
|
TTF_TextEngine *textEngine;
|
|
TTF_Font **fonts;
|
|
} Clay_SDL3RendererData;
|
|
|
|
void SDL_Clay_RenderClayCommands(Clay_SDL3RendererData *rendererData, Clay_RenderCommandArray *rcommands);
|
|
|
|
#endif
|