From d6399622a0280bc8ea458104b946f1860d928156 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 16 Oct 2024 17:26:49 +0000 Subject: [PATCH] Update raylib_api.* by CI --- parser/output/raylib_api.json | 44 +++++++++++------------ parser/output/raylib_api.lua | 44 +++++++++++------------ parser/output/raylib_api.txt | 66 +++++++++++++++++------------------ parser/output/raylib_api.xml | 22 ++++++------ 4 files changed, 88 insertions(+), 88 deletions(-) diff --git a/parser/output/raylib_api.json b/parser/output/raylib_api.json index f735853fb3a4..1a2b492592f2 100644 --- a/parser/output/raylib_api.json +++ b/parser/output/raylib_api.json @@ -3763,8 +3763,8 @@ ] }, { - "name": "IsShaderReady", - "description": "Check if a shader is ready", + "name": "IsShaderValid", + "description": "Check if a shader is valid (loaded on GPU)", "returnType": "bool", "params": [ { @@ -6919,8 +6919,8 @@ "returnType": "Image" }, { - "name": "IsImageReady", - "description": "Check if an image is ready", + "name": "IsImageValid", + "description": "Check if an image is valid (data and parameters)", "returnType": "bool", "params": [ { @@ -8383,8 +8383,8 @@ ] }, { - "name": "IsTextureReady", - "description": "Check if a texture is ready", + "name": "IsTextureValid", + "description": "Check if a texture is valid (loaded in GPU)", "returnType": "bool", "params": [ { @@ -8405,8 +8405,8 @@ ] }, { - "name": "IsRenderTextureReady", - "description": "Check if a render texture is ready", + "name": "IsRenderTextureValid", + "description": "Check if a render texture is valid (loaded in GPU)", "returnType": "bool", "params": [ { @@ -9000,8 +9000,8 @@ ] }, { - "name": "IsFontReady", - "description": "Check if a font is ready", + "name": "IsFontValid", + "description": "Check if a font is valid (font data loaded, WARNING: GPU texture not checked)", "returnType": "bool", "params": [ { @@ -10292,8 +10292,8 @@ ] }, { - "name": "IsModelReady", - "description": "Check if a model is ready", + "name": "IsModelValid", + "description": "Check if a model is valid (loaded in GPU, VAO/VBOs)", "returnType": "bool", "params": [ { @@ -10979,8 +10979,8 @@ "returnType": "Material" }, { - "name": "IsMaterialReady", - "description": "Check if a material is ready", + "name": "IsMaterialValid", + "description": "Check if a material is valid (shader assigned, map textures loaded in GPU)", "returnType": "bool", "params": [ { @@ -11354,8 +11354,8 @@ ] }, { - "name": "IsWaveReady", - "description": "Checks if wave data is ready", + "name": "IsWaveValid", + "description": "Checks if wave data is valid (data loaded and parameters)", "returnType": "bool", "params": [ { @@ -11398,8 +11398,8 @@ ] }, { - "name": "IsSoundReady", - "description": "Checks if a sound is ready", + "name": "IsSoundValid", + "description": "Checks if a sound is valid (data loaded and buffers initialized)", "returnType": "bool", "params": [ { @@ -11696,8 +11696,8 @@ ] }, { - "name": "IsMusicReady", - "description": "Checks if a music stream is ready", + "name": "IsMusicValid", + "description": "Checks if a music stream is valid (context and buffers initialized)", "returnType": "bool", "params": [ { @@ -11885,8 +11885,8 @@ ] }, { - "name": "IsAudioStreamReady", - "description": "Checks if an audio stream is ready", + "name": "IsAudioStreamValid", + "description": "Checks if an audio stream is valid (buffers initialized)", "returnType": "bool", "params": [ { diff --git a/parser/output/raylib_api.lua b/parser/output/raylib_api.lua index 4c0dd5a03972..5bb0e3200e77 100644 --- a/parser/output/raylib_api.lua +++ b/parser/output/raylib_api.lua @@ -3589,8 +3589,8 @@ return { } }, { - name = "IsShaderReady", - description = "Check if a shader is ready", + name = "IsShaderValid", + description = "Check if a shader is valid (loaded on GPU)", returnType = "bool", params = { {type = "Shader", name = "shader"} @@ -5401,8 +5401,8 @@ return { returnType = "Image" }, { - name = "IsImageReady", - description = "Check if an image is ready", + name = "IsImageValid", + description = "Check if an image is valid (data and parameters)", returnType = "bool", params = { {type = "Image", name = "image"} @@ -6166,8 +6166,8 @@ return { } }, { - name = "IsTextureReady", - description = "Check if a texture is ready", + name = "IsTextureValid", + description = "Check if a texture is valid (loaded in GPU)", returnType = "bool", params = { {type = "Texture2D", name = "texture"} @@ -6182,8 +6182,8 @@ return { } }, { - name = "IsRenderTextureReady", - description = "Check if a render texture is ready", + name = "IsRenderTextureValid", + description = "Check if a render texture is valid (loaded in GPU)", returnType = "bool", params = { {type = "RenderTexture2D", name = "target"} @@ -6513,8 +6513,8 @@ return { } }, { - name = "IsFontReady", - description = "Check if a font is ready", + name = "IsFontValid", + description = "Check if a font is valid (font data loaded, WARNING: GPU texture not checked)", returnType = "bool", params = { {type = "Font", name = "font"} @@ -7193,8 +7193,8 @@ return { } }, { - name = "IsModelReady", - description = "Check if a model is ready", + name = "IsModelValid", + description = "Check if a model is valid (loaded in GPU, VAO/VBOs)", returnType = "bool", params = { {type = "Model", name = "model"} @@ -7547,8 +7547,8 @@ return { returnType = "Material" }, { - name = "IsMaterialReady", - description = "Check if a material is ready", + name = "IsMaterialValid", + description = "Check if a material is valid (shader assigned, map textures loaded in GPU)", returnType = "bool", params = { {type = "Material", name = "material"} @@ -7766,8 +7766,8 @@ return { } }, { - name = "IsWaveReady", - description = "Checks if wave data is ready", + name = "IsWaveValid", + description = "Checks if wave data is valid (data loaded and parameters)", returnType = "bool", params = { {type = "Wave", name = "wave"} @@ -7798,8 +7798,8 @@ return { } }, { - name = "IsSoundReady", - description = "Checks if a sound is ready", + name = "IsSoundValid", + description = "Checks if a sound is valid (data loaded and buffers initialized)", returnType = "bool", params = { {type = "Sound", name = "sound"} @@ -7988,8 +7988,8 @@ return { } }, { - name = "IsMusicReady", - description = "Checks if a music stream is ready", + name = "IsMusicValid", + description = "Checks if a music stream is valid (context and buffers initialized)", returnType = "bool", params = { {type = "Music", name = "music"} @@ -8114,8 +8114,8 @@ return { } }, { - name = "IsAudioStreamReady", - description = "Checks if an audio stream is ready", + name = "IsAudioStreamValid", + description = "Checks if an audio stream is valid (buffers initialized)", returnType = "bool", params = { {type = "AudioStream", name = "stream"} diff --git a/parser/output/raylib_api.txt b/parser/output/raylib_api.txt index 865e5ae78e10..9893eb4c6af4 100644 --- a/parser/output/raylib_api.txt +++ b/parser/output/raylib_api.txt @@ -1378,10 +1378,10 @@ Function 075: LoadShaderFromMemory() (2 input parameters) Description: Load shader from code strings and bind default locations Param[1]: vsCode (type: const char *) Param[2]: fsCode (type: const char *) -Function 076: IsShaderReady() (1 input parameters) - Name: IsShaderReady +Function 076: IsShaderValid() (1 input parameters) + Name: IsShaderValid Return type: bool - Description: Check if a shader is ready + Description: Check if a shader is valid (loaded on GPU) Param[1]: shader (type: Shader) Function 077: GetShaderLocation() (2 input parameters) Name: GetShaderLocation @@ -2674,10 +2674,10 @@ Function 279: LoadImageFromScreen() (0 input parameters) Return type: Image Description: Load image from screen buffer and (screenshot) No input parameters -Function 280: IsImageReady() (1 input parameters) - Name: IsImageReady +Function 280: IsImageValid() (1 input parameters) + Name: IsImageValid Return type: bool - Description: Check if an image is ready + Description: Check if an image is valid (data and parameters) Param[1]: image (type: Image) Function 281: UnloadImage() (1 input parameters) Name: UnloadImage @@ -3211,20 +3211,20 @@ Function 355: LoadRenderTexture() (2 input parameters) Description: Load texture for rendering (framebuffer) Param[1]: width (type: int) Param[2]: height (type: int) -Function 356: IsTextureReady() (1 input parameters) - Name: IsTextureReady +Function 356: IsTextureValid() (1 input parameters) + Name: IsTextureValid Return type: bool - Description: Check if a texture is ready + Description: Check if a texture is valid (loaded in GPU) Param[1]: texture (type: Texture2D) Function 357: UnloadTexture() (1 input parameters) Name: UnloadTexture Return type: void Description: Unload texture from GPU memory (VRAM) Param[1]: texture (type: Texture2D) -Function 358: IsRenderTextureReady() (1 input parameters) - Name: IsRenderTextureReady +Function 358: IsRenderTextureValid() (1 input parameters) + Name: IsRenderTextureValid Return type: bool - Description: Check if a render texture is ready + Description: Check if a render texture is valid (loaded in GPU) Param[1]: target (type: RenderTexture2D) Function 359: UnloadRenderTexture() (1 input parameters) Name: UnloadRenderTexture @@ -3450,10 +3450,10 @@ Function 392: LoadFontFromMemory() (6 input parameters) Param[4]: fontSize (type: int) Param[5]: codepoints (type: int *) Param[6]: codepointCount (type: int) -Function 393: IsFontReady() (1 input parameters) - Name: IsFontReady +Function 393: IsFontValid() (1 input parameters) + Name: IsFontValid Return type: bool - Description: Check if a font is ready + Description: Check if a font is valid (font data loaded, WARNING: GPU texture not checked) Param[1]: font (type: Font) Function 394: LoadFontData() (6 input parameters) Name: LoadFontData @@ -3926,10 +3926,10 @@ Function 460: LoadModelFromMesh() (1 input parameters) Return type: Model Description: Load model from generated mesh (default material) Param[1]: mesh (type: Mesh) -Function 461: IsModelReady() (1 input parameters) - Name: IsModelReady +Function 461: IsModelValid() (1 input parameters) + Name: IsModelValid Return type: bool - Description: Check if a model is ready + Description: Check if a model is valid (loaded in GPU, VAO/VBOs) Param[1]: model (type: Model) Function 462: UnloadModel() (1 input parameters) Name: UnloadModel @@ -4178,10 +4178,10 @@ Function 495: LoadMaterialDefault() (0 input parameters) Return type: Material Description: Load default material (Supports: DIFFUSE, SPECULAR, NORMAL maps) No input parameters -Function 496: IsMaterialReady() (1 input parameters) - Name: IsMaterialReady +Function 496: IsMaterialValid() (1 input parameters) + Name: IsMaterialValid Return type: bool - Description: Check if a material is ready + Description: Check if a material is valid (shader assigned, map textures loaded in GPU) Param[1]: material (type: Material) Function 497: UnloadMaterial() (1 input parameters) Name: UnloadMaterial @@ -4334,10 +4334,10 @@ Function 520: LoadWaveFromMemory() (3 input parameters) Param[1]: fileType (type: const char *) Param[2]: fileData (type: const unsigned char *) Param[3]: dataSize (type: int) -Function 521: IsWaveReady() (1 input parameters) - Name: IsWaveReady +Function 521: IsWaveValid() (1 input parameters) + Name: IsWaveValid Return type: bool - Description: Checks if wave data is ready + Description: Checks if wave data is valid (data loaded and parameters) Param[1]: wave (type: Wave) Function 522: LoadSound() (1 input parameters) Name: LoadSound @@ -4354,10 +4354,10 @@ Function 524: LoadSoundAlias() (1 input parameters) Return type: Sound Description: Create a new sound that shares the same sample data as the source sound, does not own the sound data Param[1]: source (type: Sound) -Function 525: IsSoundReady() (1 input parameters) - Name: IsSoundReady +Function 525: IsSoundValid() (1 input parameters) + Name: IsSoundValid Return type: bool - Description: Checks if a sound is ready + Description: Checks if a sound is valid (data loaded and buffers initialized) Param[1]: sound (type: Sound) Function 526: UpdateSound() (3 input parameters) Name: UpdateSound @@ -4478,10 +4478,10 @@ Function 546: LoadMusicStreamFromMemory() (3 input parameters) Param[1]: fileType (type: const char *) Param[2]: data (type: const unsigned char *) Param[3]: dataSize (type: int) -Function 547: IsMusicReady() (1 input parameters) - Name: IsMusicReady +Function 547: IsMusicValid() (1 input parameters) + Name: IsMusicValid Return type: bool - Description: Checks if a music stream is ready + Description: Checks if a music stream is valid (context and buffers initialized) Param[1]: music (type: Music) Function 548: UnloadMusicStream() (1 input parameters) Name: UnloadMusicStream @@ -4559,10 +4559,10 @@ Function 561: LoadAudioStream() (3 input parameters) Param[1]: sampleRate (type: unsigned int) Param[2]: sampleSize (type: unsigned int) Param[3]: channels (type: unsigned int) -Function 562: IsAudioStreamReady() (1 input parameters) - Name: IsAudioStreamReady +Function 562: IsAudioStreamValid() (1 input parameters) + Name: IsAudioStreamValid Return type: bool - Description: Checks if an audio stream is ready + Description: Checks if an audio stream is valid (buffers initialized) Param[1]: stream (type: AudioStream) Function 563: UnloadAudioStream() (1 input parameters) Name: UnloadAudioStream diff --git a/parser/output/raylib_api.xml b/parser/output/raylib_api.xml index 25b2532243cf..eb53437eb271 100644 --- a/parser/output/raylib_api.xml +++ b/parser/output/raylib_api.xml @@ -871,7 +871,7 @@ - + @@ -1727,7 +1727,7 @@ - + @@ -2112,13 +2112,13 @@ - + - + @@ -2276,7 +2276,7 @@ - + @@ -2616,7 +2616,7 @@ - + @@ -2797,7 +2797,7 @@ - + @@ -2899,7 +2899,7 @@ - + @@ -2911,7 +2911,7 @@ - + @@ -2991,7 +2991,7 @@ - + @@ -3042,7 +3042,7 @@ - +