diff options
| author | gonzo <gonzo@toniatuh.com> | 2024-11-18 21:30:06 +0100 |
|---|---|---|
| committer | gonzo <gonzo@toniatuh.com> | 2024-11-18 21:59:12 +0100 |
| commit | 4aefdc362813c5fd5dca4f677088d374058fa4b9 (patch) | |
| tree | b715428fb94587a6ff7653d275dce7bb0b9a620d /drawing.scm | |
| parent | c24e9c8679d43ad5960864b1e7c746b2dcf53562 (diff) | |
| download | gambit-raylib-4aefdc362813c5fd5dca4f677088d374058fa4b9.tar.gz | |
added render textures and some texture functionality
Diffstat (limited to 'drawing.scm')
| -rw-r--r-- | drawing.scm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drawing.scm b/drawing.scm index 41a4e26..2de227a 100644 --- a/drawing.scm +++ b/drawing.scm @@ -31,9 +31,13 @@ ;; Begin drawing to render texture ;; void BeginTextureMode(RenderTexture2D target); +(define begin-texture-mode + (c-lambda (render-texture) void "BeginTextureMode")) ;; Ends drawing to render texture ;; void EndTextureMode(void); +(define end-texture-mode + (c-lambda () void "EndTextureMode")) ;; Begin custom shader drawing ;; void BeginShaderMode(Shader shader); |
