Skip to content

Commit 3ba2f57

Browse files
github-actions[bot]psxdev
authored andcommitted
Update raylib_api.* by CI
1 parent ffb6eec commit 3ba2f57

File tree

4 files changed

+88
-88
lines changed

4 files changed

+88
-88
lines changed

parser/output/raylib_api.json

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -3763,8 +3763,8 @@
37633763
]
37643764
},
37653765
{
3766-
"name": "IsShaderReady",
3767-
"description": "Check if a shader is ready",
3766+
"name": "IsShaderValid",
3767+
"description": "Check if a shader is valid (loaded on GPU)",
37683768
"returnType": "bool",
37693769
"params": [
37703770
{
@@ -6919,8 +6919,8 @@
69196919
"returnType": "Image"
69206920
},
69216921
{
6922-
"name": "IsImageReady",
6923-
"description": "Check if an image is ready",
6922+
"name": "IsImageValid",
6923+
"description": "Check if an image is valid (data and parameters)",
69246924
"returnType": "bool",
69256925
"params": [
69266926
{
@@ -8383,8 +8383,8 @@
83838383
]
83848384
},
83858385
{
8386-
"name": "IsTextureReady",
8387-
"description": "Check if a texture is ready",
8386+
"name": "IsTextureValid",
8387+
"description": "Check if a texture is valid (loaded in GPU)",
83888388
"returnType": "bool",
83898389
"params": [
83908390
{
@@ -8405,8 +8405,8 @@
84058405
]
84068406
},
84078407
{
8408-
"name": "IsRenderTextureReady",
8409-
"description": "Check if a render texture is ready",
8408+
"name": "IsRenderTextureValid",
8409+
"description": "Check if a render texture is valid (loaded in GPU)",
84108410
"returnType": "bool",
84118411
"params": [
84128412
{
@@ -9000,8 +9000,8 @@
90009000
]
90019001
},
90029002
{
9003-
"name": "IsFontReady",
9004-
"description": "Check if a font is ready",
9003+
"name": "IsFontValid",
9004+
"description": "Check if a font is valid (font data loaded, WARNING: GPU texture not checked)",
90059005
"returnType": "bool",
90069006
"params": [
90079007
{
@@ -10292,8 +10292,8 @@
1029210292
]
1029310293
},
1029410294
{
10295-
"name": "IsModelReady",
10296-
"description": "Check if a model is ready",
10295+
"name": "IsModelValid",
10296+
"description": "Check if a model is valid (loaded in GPU, VAO/VBOs)",
1029710297
"returnType": "bool",
1029810298
"params": [
1029910299
{
@@ -10979,8 +10979,8 @@
1097910979
"returnType": "Material"
1098010980
},
1098110981
{
10982-
"name": "IsMaterialReady",
10983-
"description": "Check if a material is ready",
10982+
"name": "IsMaterialValid",
10983+
"description": "Check if a material is valid (shader assigned, map textures loaded in GPU)",
1098410984
"returnType": "bool",
1098510985
"params": [
1098610986
{
@@ -11354,8 +11354,8 @@
1135411354
]
1135511355
},
1135611356
{
11357-
"name": "IsWaveReady",
11358-
"description": "Checks if wave data is ready",
11357+
"name": "IsWaveValid",
11358+
"description": "Checks if wave data is valid (data loaded and parameters)",
1135911359
"returnType": "bool",
1136011360
"params": [
1136111361
{
@@ -11398,8 +11398,8 @@
1139811398
]
1139911399
},
1140011400
{
11401-
"name": "IsSoundReady",
11402-
"description": "Checks if a sound is ready",
11401+
"name": "IsSoundValid",
11402+
"description": "Checks if a sound is valid (data loaded and buffers initialized)",
1140311403
"returnType": "bool",
1140411404
"params": [
1140511405
{
@@ -11696,8 +11696,8 @@
1169611696
]
1169711697
},
1169811698
{
11699-
"name": "IsMusicReady",
11700-
"description": "Checks if a music stream is ready",
11699+
"name": "IsMusicValid",
11700+
"description": "Checks if a music stream is valid (context and buffers initialized)",
1170111701
"returnType": "bool",
1170211702
"params": [
1170311703
{
@@ -11885,8 +11885,8 @@
1188511885
]
1188611886
},
1188711887
{
11888-
"name": "IsAudioStreamReady",
11889-
"description": "Checks if an audio stream is ready",
11888+
"name": "IsAudioStreamValid",
11889+
"description": "Checks if an audio stream is valid (buffers initialized)",
1189011890
"returnType": "bool",
1189111891
"params": [
1189211892
{

parser/output/raylib_api.lua

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -3589,8 +3589,8 @@ return {
35893589
}
35903590
},
35913591
{
3592-
name = "IsShaderReady",
3593-
description = "Check if a shader is ready",
3592+
name = "IsShaderValid",
3593+
description = "Check if a shader is valid (loaded on GPU)",
35943594
returnType = "bool",
35953595
params = {
35963596
{type = "Shader", name = "shader"}
@@ -5401,8 +5401,8 @@ return {
54015401
returnType = "Image"
54025402
},
54035403
{
5404-
name = "IsImageReady",
5405-
description = "Check if an image is ready",
5404+
name = "IsImageValid",
5405+
description = "Check if an image is valid (data and parameters)",
54065406
returnType = "bool",
54075407
params = {
54085408
{type = "Image", name = "image"}
@@ -6166,8 +6166,8 @@ return {
61666166
}
61676167
},
61686168
{
6169-
name = "IsTextureReady",
6170-
description = "Check if a texture is ready",
6169+
name = "IsTextureValid",
6170+
description = "Check if a texture is valid (loaded in GPU)",
61716171
returnType = "bool",
61726172
params = {
61736173
{type = "Texture2D", name = "texture"}
@@ -6182,8 +6182,8 @@ return {
61826182
}
61836183
},
61846184
{
6185-
name = "IsRenderTextureReady",
6186-
description = "Check if a render texture is ready",
6185+
name = "IsRenderTextureValid",
6186+
description = "Check if a render texture is valid (loaded in GPU)",
61876187
returnType = "bool",
61886188
params = {
61896189
{type = "RenderTexture2D", name = "target"}
@@ -6513,8 +6513,8 @@ return {
65136513
}
65146514
},
65156515
{
6516-
name = "IsFontReady",
6517-
description = "Check if a font is ready",
6516+
name = "IsFontValid",
6517+
description = "Check if a font is valid (font data loaded, WARNING: GPU texture not checked)",
65186518
returnType = "bool",
65196519
params = {
65206520
{type = "Font", name = "font"}
@@ -7193,8 +7193,8 @@ return {
71937193
}
71947194
},
71957195
{
7196-
name = "IsModelReady",
7197-
description = "Check if a model is ready",
7196+
name = "IsModelValid",
7197+
description = "Check if a model is valid (loaded in GPU, VAO/VBOs)",
71987198
returnType = "bool",
71997199
params = {
72007200
{type = "Model", name = "model"}
@@ -7547,8 +7547,8 @@ return {
75477547
returnType = "Material"
75487548
},
75497549
{
7550-
name = "IsMaterialReady",
7551-
description = "Check if a material is ready",
7550+
name = "IsMaterialValid",
7551+
description = "Check if a material is valid (shader assigned, map textures loaded in GPU)",
75527552
returnType = "bool",
75537553
params = {
75547554
{type = "Material", name = "material"}
@@ -7766,8 +7766,8 @@ return {
77667766
}
77677767
},
77687768
{
7769-
name = "IsWaveReady",
7770-
description = "Checks if wave data is ready",
7769+
name = "IsWaveValid",
7770+
description = "Checks if wave data is valid (data loaded and parameters)",
77717771
returnType = "bool",
77727772
params = {
77737773
{type = "Wave", name = "wave"}
@@ -7798,8 +7798,8 @@ return {
77987798
}
77997799
},
78007800
{
7801-
name = "IsSoundReady",
7802-
description = "Checks if a sound is ready",
7801+
name = "IsSoundValid",
7802+
description = "Checks if a sound is valid (data loaded and buffers initialized)",
78037803
returnType = "bool",
78047804
params = {
78057805
{type = "Sound", name = "sound"}
@@ -7988,8 +7988,8 @@ return {
79887988
}
79897989
},
79907990
{
7991-
name = "IsMusicReady",
7992-
description = "Checks if a music stream is ready",
7991+
name = "IsMusicValid",
7992+
description = "Checks if a music stream is valid (context and buffers initialized)",
79937993
returnType = "bool",
79947994
params = {
79957995
{type = "Music", name = "music"}
@@ -8114,8 +8114,8 @@ return {
81148114
}
81158115
},
81168116
{
8117-
name = "IsAudioStreamReady",
8118-
description = "Checks if an audio stream is ready",
8117+
name = "IsAudioStreamValid",
8118+
description = "Checks if an audio stream is valid (buffers initialized)",
81198119
returnType = "bool",
81208120
params = {
81218121
{type = "AudioStream", name = "stream"}

parser/output/raylib_api.txt

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1378,10 +1378,10 @@ Function 075: LoadShaderFromMemory() (2 input parameters)
13781378
Description: Load shader from code strings and bind default locations
13791379
Param[1]: vsCode (type: const char *)
13801380
Param[2]: fsCode (type: const char *)
1381-
Function 076: IsShaderReady() (1 input parameters)
1382-
Name: IsShaderReady
1381+
Function 076: IsShaderValid() (1 input parameters)
1382+
Name: IsShaderValid
13831383
Return type: bool
1384-
Description: Check if a shader is ready
1384+
Description: Check if a shader is valid (loaded on GPU)
13851385
Param[1]: shader (type: Shader)
13861386
Function 077: GetShaderLocation() (2 input parameters)
13871387
Name: GetShaderLocation
@@ -2674,10 +2674,10 @@ Function 279: LoadImageFromScreen() (0 input parameters)
26742674
Return type: Image
26752675
Description: Load image from screen buffer and (screenshot)
26762676
No input parameters
2677-
Function 280: IsImageReady() (1 input parameters)
2678-
Name: IsImageReady
2677+
Function 280: IsImageValid() (1 input parameters)
2678+
Name: IsImageValid
26792679
Return type: bool
2680-
Description: Check if an image is ready
2680+
Description: Check if an image is valid (data and parameters)
26812681
Param[1]: image (type: Image)
26822682
Function 281: UnloadImage() (1 input parameters)
26832683
Name: UnloadImage
@@ -3211,20 +3211,20 @@ Function 355: LoadRenderTexture() (2 input parameters)
32113211
Description: Load texture for rendering (framebuffer)
32123212
Param[1]: width (type: int)
32133213
Param[2]: height (type: int)
3214-
Function 356: IsTextureReady() (1 input parameters)
3215-
Name: IsTextureReady
3214+
Function 356: IsTextureValid() (1 input parameters)
3215+
Name: IsTextureValid
32163216
Return type: bool
3217-
Description: Check if a texture is ready
3217+
Description: Check if a texture is valid (loaded in GPU)
32183218
Param[1]: texture (type: Texture2D)
32193219
Function 357: UnloadTexture() (1 input parameters)
32203220
Name: UnloadTexture
32213221
Return type: void
32223222
Description: Unload texture from GPU memory (VRAM)
32233223
Param[1]: texture (type: Texture2D)
3224-
Function 358: IsRenderTextureReady() (1 input parameters)
3225-
Name: IsRenderTextureReady
3224+
Function 358: IsRenderTextureValid() (1 input parameters)
3225+
Name: IsRenderTextureValid
32263226
Return type: bool
3227-
Description: Check if a render texture is ready
3227+
Description: Check if a render texture is valid (loaded in GPU)
32283228
Param[1]: target (type: RenderTexture2D)
32293229
Function 359: UnloadRenderTexture() (1 input parameters)
32303230
Name: UnloadRenderTexture
@@ -3450,10 +3450,10 @@ Function 392: LoadFontFromMemory() (6 input parameters)
34503450
Param[4]: fontSize (type: int)
34513451
Param[5]: codepoints (type: int *)
34523452
Param[6]: codepointCount (type: int)
3453-
Function 393: IsFontReady() (1 input parameters)
3454-
Name: IsFontReady
3453+
Function 393: IsFontValid() (1 input parameters)
3454+
Name: IsFontValid
34553455
Return type: bool
3456-
Description: Check if a font is ready
3456+
Description: Check if a font is valid (font data loaded, WARNING: GPU texture not checked)
34573457
Param[1]: font (type: Font)
34583458
Function 394: LoadFontData() (6 input parameters)
34593459
Name: LoadFontData
@@ -3926,10 +3926,10 @@ Function 460: LoadModelFromMesh() (1 input parameters)
39263926
Return type: Model
39273927
Description: Load model from generated mesh (default material)
39283928
Param[1]: mesh (type: Mesh)
3929-
Function 461: IsModelReady() (1 input parameters)
3930-
Name: IsModelReady
3929+
Function 461: IsModelValid() (1 input parameters)
3930+
Name: IsModelValid
39313931
Return type: bool
3932-
Description: Check if a model is ready
3932+
Description: Check if a model is valid (loaded in GPU, VAO/VBOs)
39333933
Param[1]: model (type: Model)
39343934
Function 462: UnloadModel() (1 input parameters)
39353935
Name: UnloadModel
@@ -4178,10 +4178,10 @@ Function 495: LoadMaterialDefault() (0 input parameters)
41784178
Return type: Material
41794179
Description: Load default material (Supports: DIFFUSE, SPECULAR, NORMAL maps)
41804180
No input parameters
4181-
Function 496: IsMaterialReady() (1 input parameters)
4182-
Name: IsMaterialReady
4181+
Function 496: IsMaterialValid() (1 input parameters)
4182+
Name: IsMaterialValid
41834183
Return type: bool
4184-
Description: Check if a material is ready
4184+
Description: Check if a material is valid (shader assigned, map textures loaded in GPU)
41854185
Param[1]: material (type: Material)
41864186
Function 497: UnloadMaterial() (1 input parameters)
41874187
Name: UnloadMaterial
@@ -4334,10 +4334,10 @@ Function 520: LoadWaveFromMemory() (3 input parameters)
43344334
Param[1]: fileType (type: const char *)
43354335
Param[2]: fileData (type: const unsigned char *)
43364336
Param[3]: dataSize (type: int)
4337-
Function 521: IsWaveReady() (1 input parameters)
4338-
Name: IsWaveReady
4337+
Function 521: IsWaveValid() (1 input parameters)
4338+
Name: IsWaveValid
43394339
Return type: bool
4340-
Description: Checks if wave data is ready
4340+
Description: Checks if wave data is valid (data loaded and parameters)
43414341
Param[1]: wave (type: Wave)
43424342
Function 522: LoadSound() (1 input parameters)
43434343
Name: LoadSound
@@ -4354,10 +4354,10 @@ Function 524: LoadSoundAlias() (1 input parameters)
43544354
Return type: Sound
43554355
Description: Create a new sound that shares the same sample data as the source sound, does not own the sound data
43564356
Param[1]: source (type: Sound)
4357-
Function 525: IsSoundReady() (1 input parameters)
4358-
Name: IsSoundReady
4357+
Function 525: IsSoundValid() (1 input parameters)
4358+
Name: IsSoundValid
43594359
Return type: bool
4360-
Description: Checks if a sound is ready
4360+
Description: Checks if a sound is valid (data loaded and buffers initialized)
43614361
Param[1]: sound (type: Sound)
43624362
Function 526: UpdateSound() (3 input parameters)
43634363
Name: UpdateSound
@@ -4478,10 +4478,10 @@ Function 546: LoadMusicStreamFromMemory() (3 input parameters)
44784478
Param[1]: fileType (type: const char *)
44794479
Param[2]: data (type: const unsigned char *)
44804480
Param[3]: dataSize (type: int)
4481-
Function 547: IsMusicReady() (1 input parameters)
4482-
Name: IsMusicReady
4481+
Function 547: IsMusicValid() (1 input parameters)
4482+
Name: IsMusicValid
44834483
Return type: bool
4484-
Description: Checks if a music stream is ready
4484+
Description: Checks if a music stream is valid (context and buffers initialized)
44854485
Param[1]: music (type: Music)
44864486
Function 548: UnloadMusicStream() (1 input parameters)
44874487
Name: UnloadMusicStream
@@ -4559,10 +4559,10 @@ Function 561: LoadAudioStream() (3 input parameters)
45594559
Param[1]: sampleRate (type: unsigned int)
45604560
Param[2]: sampleSize (type: unsigned int)
45614561
Param[3]: channels (type: unsigned int)
4562-
Function 562: IsAudioStreamReady() (1 input parameters)
4563-
Name: IsAudioStreamReady
4562+
Function 562: IsAudioStreamValid() (1 input parameters)
4563+
Name: IsAudioStreamValid
45644564
Return type: bool
4565-
Description: Checks if an audio stream is ready
4565+
Description: Checks if an audio stream is valid (buffers initialized)
45664566
Param[1]: stream (type: AudioStream)
45674567
Function 563: UnloadAudioStream() (1 input parameters)
45684568
Name: UnloadAudioStream

0 commit comments

Comments
 (0)