summaryrefslogtreecommitdiff
path: root/doc_parser.lua
diff options
context:
space:
mode:
authorjussi2023-06-01 20:35:06 +0300
committerjussi2023-06-01 20:35:06 +0300
commit8008ebf1b041e837eecf54c3904156309508a2a8 (patch)
treedb5a570dcfb6dd2f9547d00763223eb7855050cc /doc_parser.lua
parent4e09bc7d617dc2b784d39aa54baeaae905bfa09b (diff)
downloadreilua-enhanced-8008ebf1b041e837eecf54c3904156309508a2a8.tar.gz
reilua-enhanced-8008ebf1b041e837eecf54c3904156309508a2a8.tar.bz2
reilua-enhanced-8008ebf1b041e837eecf54c3904156309508a2a8.zip
New rlgl functions and texture can be given as table.
Diffstat (limited to 'doc_parser.lua')
-rw-r--r--doc_parser.lua4
1 files changed, 2 insertions, 2 deletions
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" )