diff options
Diffstat (limited to 'src/new_render/render.h')
-rw-r--r-- | src/new_render/render.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/new_render/render.h b/src/new_render/render.h index fa05fec..de84eda 100644 --- a/src/new_render/render.h +++ b/src/new_render/render.h @@ -41,7 +41,9 @@ PUB void Render_RenderEntities(RenderEnt* entities, size_t entity_count); // --- Resources -PUB TextureHandle TextureUpload(); +PUB TextureData TextureDataLoad(const char* path, bool invert_y); +PUB void TextureUpload(TextureHandle handle, size_t n_bytes, const void* data); +PUB TextureHandle TextureLoadFromFile(const char* path); PUB ModelHandle ModelLoad(const char* debug_name, const char* filepath); // --- Rendering Data |