summaryrefslogtreecommitdiffhomepage
path: root/include/rodeo.h
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2023-03-24 03:18:42 -0400
committerrealtradam <[email protected]>2023-03-24 03:18:42 -0400
commitb2fdd29e4965b096e285a17162b268710077ea04 (patch)
tree449f4d5fc1cad055d4e5f50a1af7c7f3d16689c5 /include/rodeo.h
parent632619168ddbe7707d4b47bf2ffcc972df7a20ea (diff)
downloadRodeoKit-b2fdd29e4965b096e285a17162b268710077ea04.tar.gz
RodeoKit-b2fdd29e4965b096e285a17162b268710077ea04.zip
texture rendering prototype
Diffstat (limited to 'include/rodeo.h')
-rw-r--r--include/rodeo.h21
1 files changed, 20 insertions, 1 deletions
diff --git a/include/rodeo.h b/include/rodeo.h
index c261cc7..8b38826 100644
--- a/include/rodeo.h
+++ b/include/rodeo.h
@@ -1,5 +1,6 @@
-// public internal
+// -- internal --
+// public
#include "rodeo_types.h"
// system
@@ -102,6 +103,24 @@ rodeo_rectangle_draw(
rodeo_rgba_t color
);
+//rodeo_texture_2d_t*
+//rodeo_texture2D_create(
+// uint32_t width,
+// uint32_t height,
+// char *memory
+//);
+
+//rodeo_texture_2d_p
+//rodeo_texture_2d_create_default(void);
+
+void
+rodeo_texture2D_draw(
+ rodeo_rectangle_t source,
+ rodeo_rectangle_t destination,
+ rodeo_rgba_t color,
+ rodeo_texture_2d_p texture
+);
+
/// --- String ---
rodeo_string_t