Fix: update API docs to use Is*Valid()
This commit is contained in:
parent
c14082d6da
commit
8da5fae783
|
|
@ -3739,7 +3739,7 @@
|
|||
},
|
||||
{
|
||||
"name": "IsShaderValid",
|
||||
"description": "Check if a shader is ready",
|
||||
"description": "Check if a shader is valid",
|
||||
"returnType": "bool",
|
||||
"params": [
|
||||
{
|
||||
|
|
@ -6839,7 +6839,7 @@
|
|||
},
|
||||
{
|
||||
"name": "IsImageValid",
|
||||
"description": "Check if an image is ready",
|
||||
"description": "Check if an image is valid",
|
||||
"returnType": "bool",
|
||||
"params": [
|
||||
{
|
||||
|
|
@ -8126,7 +8126,7 @@
|
|||
},
|
||||
{
|
||||
"name": "IsTextureValid",
|
||||
"description": "Check if a texture is ready",
|
||||
"description": "Check if a texture is valid",
|
||||
"returnType": "bool",
|
||||
"params": [
|
||||
{
|
||||
|
|
@ -8148,7 +8148,7 @@
|
|||
},
|
||||
{
|
||||
"name": "IsRenderTextureValid",
|
||||
"description": "Check if a render texture is ready",
|
||||
"description": "Check if a render texture is valid",
|
||||
"returnType": "bool",
|
||||
"params": [
|
||||
{
|
||||
|
|
@ -8724,7 +8724,7 @@
|
|||
},
|
||||
{
|
||||
"name": "IsFontValid",
|
||||
"description": "Check if a font is ready",
|
||||
"description": "Check if a font is valid",
|
||||
"returnType": "bool",
|
||||
"params": [
|
||||
{
|
||||
|
|
@ -9994,7 +9994,7 @@
|
|||
},
|
||||
{
|
||||
"name": "IsModelValid",
|
||||
"description": "Check if a model is ready",
|
||||
"description": "Check if a model is valid",
|
||||
"returnType": "bool",
|
||||
"params": [
|
||||
{
|
||||
|
|
@ -10627,7 +10627,7 @@
|
|||
},
|
||||
{
|
||||
"name": "IsMaterialValid",
|
||||
"description": "Check if a material is ready",
|
||||
"description": "Check if a material is valid",
|
||||
"returnType": "bool",
|
||||
"params": [
|
||||
{
|
||||
|
|
@ -10983,7 +10983,7 @@
|
|||
},
|
||||
{
|
||||
"name": "IsWaveValid",
|
||||
"description": "Checks if wave data is ready",
|
||||
"description": "Checks if wave data is valid",
|
||||
"returnType": "bool",
|
||||
"params": [
|
||||
{
|
||||
|
|
@ -11027,7 +11027,7 @@
|
|||
},
|
||||
{
|
||||
"name": "IsSoundValid",
|
||||
"description": "Checks if a sound is ready",
|
||||
"description": "Checks if a sound is valid",
|
||||
"returnType": "bool",
|
||||
"params": [
|
||||
{
|
||||
|
|
@ -11325,7 +11325,7 @@
|
|||
},
|
||||
{
|
||||
"name": "IsMusicValid",
|
||||
"description": "Checks if a music stream is ready",
|
||||
"description": "Checks if a music stream is valid",
|
||||
"returnType": "bool",
|
||||
"params": [
|
||||
{
|
||||
|
|
@ -11514,7 +11514,7 @@
|
|||
},
|
||||
{
|
||||
"name": "IsAudioStreamValid",
|
||||
"description": "Checks if an audio stream is ready",
|
||||
"description": "Checks if an audio stream is valid",
|
||||
"returnType": "bool",
|
||||
"params": [
|
||||
{
|
||||
|
|
|
|||
|
|
@ -3565,7 +3565,7 @@ return {
|
|||
},
|
||||
{
|
||||
name = "IsShaderValid",
|
||||
description = "Check if a shader is ready",
|
||||
description = "Check if a shader is valid",
|
||||
returnType = "bool",
|
||||
params = {
|
||||
{type = "Shader", name = "shader"}
|
||||
|
|
@ -5342,7 +5342,7 @@ return {
|
|||
},
|
||||
{
|
||||
name = "IsImageValid",
|
||||
description = "Check if an image is ready",
|
||||
description = "Check if an image is valid",
|
||||
returnType = "bool",
|
||||
params = {
|
||||
{type = "Image", name = "image"}
|
||||
|
|
@ -6026,7 +6026,7 @@ return {
|
|||
},
|
||||
{
|
||||
name = "IsTextureValid",
|
||||
description = "Check if a texture is ready",
|
||||
description = "Check if a texture is valid",
|
||||
returnType = "bool",
|
||||
params = {
|
||||
{type = "Texture2D", name = "texture"}
|
||||
|
|
@ -6042,7 +6042,7 @@ return {
|
|||
},
|
||||
{
|
||||
name = "IsRenderTextureValid",
|
||||
description = "Check if a render texture is ready",
|
||||
description = "Check if a render texture is valid",
|
||||
returnType = "bool",
|
||||
params = {
|
||||
{type = "RenderTexture2D", name = "target"}
|
||||
|
|
@ -6363,7 +6363,7 @@ return {
|
|||
},
|
||||
{
|
||||
name = "IsFontValid",
|
||||
description = "Check if a font is ready",
|
||||
description = "Check if a font is valid",
|
||||
returnType = "bool",
|
||||
params = {
|
||||
{type = "Font", name = "font"}
|
||||
|
|
@ -7027,7 +7027,7 @@ return {
|
|||
},
|
||||
{
|
||||
name = "IsModelValid",
|
||||
description = "Check if a model is ready",
|
||||
description = "Check if a model is valid",
|
||||
returnType = "bool",
|
||||
params = {
|
||||
{type = "Model", name = "model"}
|
||||
|
|
@ -7357,7 +7357,7 @@ return {
|
|||
},
|
||||
{
|
||||
name = "IsMaterialValid",
|
||||
description = "Check if a material is ready",
|
||||
description = "Check if a material is valid",
|
||||
returnType = "bool",
|
||||
params = {
|
||||
{type = "Material", name = "material"}
|
||||
|
|
@ -7566,7 +7566,7 @@ return {
|
|||
},
|
||||
{
|
||||
name = "IsWaveValid",
|
||||
description = "Checks if wave data is ready",
|
||||
description = "Checks if wave data is valid",
|
||||
returnType = "bool",
|
||||
params = {
|
||||
{type = "Wave", name = "wave"}
|
||||
|
|
@ -7598,7 +7598,7 @@ return {
|
|||
},
|
||||
{
|
||||
name = "IsSoundValid",
|
||||
description = "Checks if a sound is ready",
|
||||
description = "Checks if a sound is valid",
|
||||
returnType = "bool",
|
||||
params = {
|
||||
{type = "Sound", name = "sound"}
|
||||
|
|
@ -7788,7 +7788,7 @@ return {
|
|||
},
|
||||
{
|
||||
name = "IsMusicValid",
|
||||
description = "Checks if a music stream is ready",
|
||||
description = "Checks if a music stream is valid",
|
||||
returnType = "bool",
|
||||
params = {
|
||||
{type = "Music", name = "music"}
|
||||
|
|
@ -7914,7 +7914,7 @@ return {
|
|||
},
|
||||
{
|
||||
name = "IsAudioStreamValid",
|
||||
description = "Checks if an audio stream is ready",
|
||||
description = "Checks if an audio stream is valid",
|
||||
returnType = "bool",
|
||||
params = {
|
||||
{type = "AudioStream", name = "stream"}
|
||||
|
|
|
|||
|
|
@ -1376,7 +1376,7 @@ Function 075: LoadShaderFromMemory() (2 input parameters)
|
|||
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
|
||||
Param[1]: shader (type: Shader)
|
||||
Function 077: GetShaderLocation() (2 input parameters)
|
||||
Name: GetShaderLocation
|
||||
|
|
@ -2649,7 +2649,7 @@ Function 275: LoadImageFromScreen() (0 input parameters)
|
|||
Function 276: IsImageValid() (1 input parameters)
|
||||
Name: IsImageValid
|
||||
Return type: bool
|
||||
Description: Check if an image is ready
|
||||
Description: Check if an image is valid
|
||||
Param[1]: image (type: Image)
|
||||
Function 277: UnloadImage() (1 input parameters)
|
||||
Name: UnloadImage
|
||||
|
|
@ -3126,7 +3126,7 @@ Function 344: LoadRenderTexture() (2 input parameters)
|
|||
Function 345: IsTextureValid() (1 input parameters)
|
||||
Name: IsTextureValid
|
||||
Return type: bool
|
||||
Description: Check if a texture is ready
|
||||
Description: Check if a texture is valid
|
||||
Param[1]: texture (type: Texture2D)
|
||||
Function 346: UnloadTexture() (1 input parameters)
|
||||
Name: UnloadTexture
|
||||
|
|
@ -3136,7 +3136,7 @@ Function 346: UnloadTexture() (1 input parameters)
|
|||
Function 347: 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
|
||||
Param[1]: target (type: RenderTexture2D)
|
||||
Function 348: UnloadRenderTexture() (1 input parameters)
|
||||
Name: UnloadRenderTexture
|
||||
|
|
@ -3358,7 +3358,7 @@ Function 380: LoadFontFromMemory() (6 input parameters)
|
|||
Function 381: IsFontValid() (1 input parameters)
|
||||
Name: IsFontValid
|
||||
Return type: bool
|
||||
Description: Check if a font is ready
|
||||
Description: Check if a font is valid
|
||||
Param[1]: font (type: Font)
|
||||
Function 382: LoadFontData() (6 input parameters)
|
||||
Name: LoadFontData
|
||||
|
|
@ -3824,7 +3824,7 @@ Function 446: LoadModelFromMesh() (1 input parameters)
|
|||
Function 447: IsModelValid() (1 input parameters)
|
||||
Name: IsModelValid
|
||||
Return type: bool
|
||||
Description: Check if a model is ready
|
||||
Description: Check if a model is valid
|
||||
Param[1]: model (type: Model)
|
||||
Function 448: UnloadModel() (1 input parameters)
|
||||
Name: UnloadModel
|
||||
|
|
@ -4058,7 +4058,7 @@ Function 479: LoadMaterialDefault() (0 input parameters)
|
|||
Function 480: IsMaterialValid() (1 input parameters)
|
||||
Name: IsMaterialValid
|
||||
Return type: bool
|
||||
Description: Check if a material is ready
|
||||
Description: Check if a material is valid
|
||||
Param[1]: material (type: Material)
|
||||
Function 481: UnloadMaterial() (1 input parameters)
|
||||
Name: UnloadMaterial
|
||||
|
|
@ -4207,7 +4207,7 @@ Function 503: LoadWaveFromMemory() (3 input parameters)
|
|||
Function 504: IsWaveValid() (1 input parameters)
|
||||
Name: IsWaveValid
|
||||
Return type: bool
|
||||
Description: Checks if wave data is ready
|
||||
Description: Checks if wave data is valid
|
||||
Param[1]: wave (type: Wave)
|
||||
Function 505: LoadSound() (1 input parameters)
|
||||
Name: LoadSound
|
||||
|
|
@ -4227,7 +4227,7 @@ Function 507: LoadSoundAlias() (1 input parameters)
|
|||
Function 508: IsSoundValid() (1 input parameters)
|
||||
Name: IsSoundValid
|
||||
Return type: bool
|
||||
Description: Checks if a sound is ready
|
||||
Description: Checks if a sound is valid
|
||||
Param[1]: sound (type: Sound)
|
||||
Function 509: UpdateSound() (3 input parameters)
|
||||
Name: UpdateSound
|
||||
|
|
@ -4351,7 +4351,7 @@ Function 529: LoadMusicStreamFromMemory() (3 input parameters)
|
|||
Function 530: 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
|
||||
Param[1]: music (type: Music)
|
||||
Function 531: UnloadMusicStream() (1 input parameters)
|
||||
Name: UnloadMusicStream
|
||||
|
|
@ -4432,7 +4432,7 @@ Function 544: LoadAudioStream() (3 input parameters)
|
|||
Function 545: 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
|
||||
Param[1]: stream (type: AudioStream)
|
||||
Function 546: UnloadAudioStream() (1 input parameters)
|
||||
Name: UnloadAudioStream
|
||||
|
|
|
|||
|
|
@ -866,7 +866,7 @@
|
|||
<Param type="const char *" name="vsCode" desc="" />
|
||||
<Param type="const char *" name="fsCode" desc="" />
|
||||
</Function>
|
||||
<Function name="IsShaderValid" retType="bool" paramCount="1" desc="Check if a shader is ready">
|
||||
<Function name="IsShaderValid" retType="bool" paramCount="1" desc="Check if a shader is valid">
|
||||
<Param type="Shader" name="shader" desc="" />
|
||||
</Function>
|
||||
<Function name="GetShaderLocation" retType="int" paramCount="2" desc="Get shader uniform location">
|
||||
|
|
@ -1707,7 +1707,7 @@
|
|||
</Function>
|
||||
<Function name="LoadImageFromScreen" retType="Image" paramCount="0" desc="Load image from screen buffer and (screenshot)">
|
||||
</Function>
|
||||
<Function name="IsImageValid" retType="bool" paramCount="1" desc="Check if an image is ready">
|
||||
<Function name="IsImageValid" retType="bool" paramCount="1" desc="Check if an image is valid">
|
||||
<Param type="Image" name="image" desc="" />
|
||||
</Function>
|
||||
<Function name="UnloadImage" retType="void" paramCount="1" desc="Unload image from CPU memory (RAM)">
|
||||
|
|
@ -2046,13 +2046,13 @@
|
|||
<Param type="int" name="width" desc="" />
|
||||
<Param type="int" name="height" desc="" />
|
||||
</Function>
|
||||
<Function name="IsTextureValid" retType="bool" paramCount="1" desc="Check if a texture is ready">
|
||||
<Function name="IsTextureValid" retType="bool" paramCount="1" desc="Check if a texture is valid">
|
||||
<Param type="Texture2D" name="texture" desc="" />
|
||||
</Function>
|
||||
<Function name="UnloadTexture" retType="void" paramCount="1" desc="Unload texture from GPU memory (VRAM)">
|
||||
<Param type="Texture2D" name="texture" desc="" />
|
||||
</Function>
|
||||
<Function name="IsRenderTextureValid" retType="bool" paramCount="1" desc="Check if a render texture is ready">
|
||||
<Function name="IsRenderTextureValid" retType="bool" paramCount="1" desc="Check if a render texture is valid">
|
||||
<Param type="RenderTexture2D" name="target" desc="" />
|
||||
</Function>
|
||||
<Function name="UnloadRenderTexture" retType="void" paramCount="1" desc="Unload render texture from GPU memory (VRAM)">
|
||||
|
|
@ -2205,7 +2205,7 @@
|
|||
<Param type="int *" name="codepoints" desc="" />
|
||||
<Param type="int" name="codepointCount" desc="" />
|
||||
</Function>
|
||||
<Function name="IsFontValid" retType="bool" paramCount="1" desc="Check if a font is ready">
|
||||
<Function name="IsFontValid" retType="bool" paramCount="1" desc="Check if a font is valid">
|
||||
<Param type="Font" name="font" desc="" />
|
||||
</Function>
|
||||
<Function name="LoadFontData" retType="GlyphInfo *" paramCount="6" desc="Load font data for further use">
|
||||
|
|
@ -2539,7 +2539,7 @@
|
|||
<Function name="LoadModelFromMesh" retType="Model" paramCount="1" desc="Load model from generated mesh (default material)">
|
||||
<Param type="Mesh" name="mesh" desc="" />
|
||||
</Function>
|
||||
<Function name="IsModelValid" retType="bool" paramCount="1" desc="Check if a model is ready">
|
||||
<Function name="IsModelValid" retType="bool" paramCount="1" desc="Check if a model is valid">
|
||||
<Param type="Model" name="model" desc="" />
|
||||
</Function>
|
||||
<Function name="UnloadModel" retType="void" paramCount="1" desc="Unload model (including meshes) from memory (RAM and/or VRAM)">
|
||||
|
|
@ -2706,7 +2706,7 @@
|
|||
</Function>
|
||||
<Function name="LoadMaterialDefault" retType="Material" paramCount="0" desc="Load default material (Supports: DIFFUSE, SPECULAR, NORMAL maps)">
|
||||
</Function>
|
||||
<Function name="IsMaterialValid" retType="bool" paramCount="1" desc="Check if a material is ready">
|
||||
<Function name="IsMaterialValid" retType="bool" paramCount="1" desc="Check if a material is valid">
|
||||
<Param type="Material" name="material" desc="" />
|
||||
</Function>
|
||||
<Function name="UnloadMaterial" retType="void" paramCount="1" desc="Unload material from GPU memory (VRAM)">
|
||||
|
|
@ -2803,7 +2803,7 @@
|
|||
<Param type="const unsigned char *" name="fileData" desc="" />
|
||||
<Param type="int" name="dataSize" desc="" />
|
||||
</Function>
|
||||
<Function name="IsWaveValid" retType="bool" paramCount="1" desc="Checks if wave data is ready">
|
||||
<Function name="IsWaveValid" retType="bool" paramCount="1" desc="Checks if wave data is valid">
|
||||
<Param type="Wave" name="wave" desc="" />
|
||||
</Function>
|
||||
<Function name="LoadSound" retType="Sound" paramCount="1" desc="Load sound from file">
|
||||
|
|
@ -2815,7 +2815,7 @@
|
|||
<Function name="LoadSoundAlias" retType="Sound" paramCount="1" desc="Create a new sound that shares the same sample data as the source sound, does not own the sound data">
|
||||
<Param type="Sound" name="source" desc="" />
|
||||
</Function>
|
||||
<Function name="IsSoundValid" retType="bool" paramCount="1" desc="Checks if a sound is ready">
|
||||
<Function name="IsSoundValid" retType="bool" paramCount="1" desc="Checks if a sound is valid">
|
||||
<Param type="Sound" name="sound" desc="" />
|
||||
</Function>
|
||||
<Function name="UpdateSound" retType="void" paramCount="3" desc="Update sound buffer with new data">
|
||||
|
|
@ -2895,7 +2895,7 @@
|
|||
<Param type="const unsigned char *" name="data" desc="" />
|
||||
<Param type="int" name="dataSize" desc="" />
|
||||
</Function>
|
||||
<Function name="IsMusicValid" retType="bool" paramCount="1" desc="Checks if a music stream is ready">
|
||||
<Function name="IsMusicValid" retType="bool" paramCount="1" desc="Checks if a music stream is valid">
|
||||
<Param type="Music" name="music" desc="" />
|
||||
</Function>
|
||||
<Function name="UnloadMusicStream" retType="void" paramCount="1" desc="Unload music stream">
|
||||
|
|
@ -2946,7 +2946,7 @@
|
|||
<Param type="unsigned int" name="sampleSize" desc="" />
|
||||
<Param type="unsigned int" name="channels" desc="" />
|
||||
</Function>
|
||||
<Function name="IsAudioStreamValid" retType="bool" paramCount="1" desc="Checks if an audio stream is ready">
|
||||
<Function name="IsAudioStreamValid" retType="bool" paramCount="1" desc="Checks if an audio stream is valid">
|
||||
<Param type="AudioStream" name="stream" desc="" />
|
||||
</Function>
|
||||
<Function name="UnloadAudioStream" retType="void" paramCount="1" desc="Unload audio stream and free memory">
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user