Change project structure;

Added new c# binding;
This commit is contained in:
2025-12-30 20:54:05 +09:00
parent 5f5404268c
commit f1d3dddb9a
392 changed files with 2694 additions and 360462 deletions

View File

@@ -0,0 +1,20 @@
#ifndef RENDERTARGET_H
#define RENDERTARGET_H
#include "Common.h"
#include <stdint.h>
typedef struct
{
vec4s* buffer;
uint32_t width;
uint32_t height;
} render_target_t;
bool render_target_init(uint32_t width, uint32_t height, render_target_t* render_target);
vec4s render_target_get_pixel(const render_target_t* render_target, uint32_t x, uint32_t y);
void render_target_set_pixel(render_target_t* render_target, uint32_t x, uint32_t y, vec4s color);
unsigned char* render_target_to_char(render_target_t* render_target);
void render_target_free(render_target_t* target);
#endif // RENDERTARGET_H