From 8008ebf1b041e837eecf54c3904156309508a2a8 Mon Sep 17 00:00:00 2001 From: jussi Date: Thu, 1 Jun 2023 20:35:06 +0300 Subject: New rlgl functions and texture can be given as table. --- doc_parser.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc_parser.lua') diff --git a/doc_parser.lua b/doc_parser.lua index cf7fb28..17ece0a 100644 --- a/doc_parser.lua +++ b/doc_parser.lua @@ -188,9 +188,9 @@ apiFile:write( "\n> Rectangle = { 0.0, 0.0, 1.0, 1.0 } or { x = 0.0, y = 0.0, wi { x, y, width ,height }. Rectangle type\n\n---\n" ) apiFile:write( "\n> Image = ImageId\n\ int id. Image type (multiple pixel formats supported). NOTE: Data stored in CPU memory (RAM)\n\n---\n" ) -apiFile:write( "\n> Texture = TextureId\n\ +apiFile:write( "\n> Texture = TextureId or { id, width, height, mipmaps, format }\n\ int id. Texture type (multiple internal formats supported). NOTE: Data stored in GPU memory (VRAM)\n\n---\n" ) -apiFile:write( "\n> RenderTexture = RenderTextureId\n\ +apiFile:write( "\n> RenderTexture = RenderTextureId or { id, texture, depth }\n\ int id. RenderTexture type, for texture rendering\n\n---\n" ) apiFile:write( "\n> Font = FontId\n\ int id. Font type, includes texture and chars data\n\n---\n" ) -- cgit v1.2.3