Refactor: rename Is*Ready() to Is*Valid()

This commit is contained in:
RenzoRomeo 2024-04-28 18:49:48 -03:00
commit c14082d6da

View file

@ -680,7 +680,7 @@
</Function>
<Function name="WindowShouldClose" retType="bool" paramCount="0" desc="Check if application should close (KEY_ESCAPE pressed or windows close icon clicked)">
</Function>
<Function name="IsWindowReady" retType="bool" paramCount="0" desc="Check if window has been initialized successfully">
<Function name="IsWindowValid" retType="bool" paramCount="0" desc="Check if window has been initialized successfully">
</Function>
<Function name="IsWindowFullscreen" retType="bool" paramCount="0" desc="Check if window is currently fullscreen">
</Function>
@ -866,7 +866,7 @@
<Param type="const char *" name="vsCode" desc="" />
<Param type="const char *" name="fsCode" desc="" />
</Function>
<Function name="IsShaderReady" retType="bool" paramCount="1" desc="Check if a shader is ready">
<Function name="IsShaderValid" retType="bool" paramCount="1" desc="Check if a shader is ready">
<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="IsImageReady" retType="bool" paramCount="1" desc="Check if an image is ready">
<Function name="IsImageValid" retType="bool" paramCount="1" desc="Check if an image is ready">
<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="IsTextureReady" retType="bool" paramCount="1" desc="Check if a texture is ready">
<Function name="IsTextureValid" retType="bool" paramCount="1" desc="Check if a texture is ready">
<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="IsRenderTextureReady" 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 ready">
<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="IsFontReady" retType="bool" paramCount="1" desc="Check if a font is ready">
<Function name="IsFontValid" retType="bool" paramCount="1" desc="Check if a font is ready">
<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="IsModelReady" retType="bool" paramCount="1" desc="Check if a model is ready">
<Function name="IsModelValid" retType="bool" paramCount="1" desc="Check if a model is ready">
<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="IsMaterialReady" retType="bool" paramCount="1" desc="Check if a material is ready">
<Function name="IsMaterialValid" retType="bool" paramCount="1" desc="Check if a material is ready">
<Param type="Material" name="material" desc="" />
</Function>
<Function name="UnloadMaterial" retType="void" paramCount="1" desc="Unload material from GPU memory (VRAM)">
@ -2788,7 +2788,7 @@
</Function>
<Function name="CloseAudioDevice" retType="void" paramCount="0" desc="Close the audio device and context">
</Function>
<Function name="IsAudioDeviceReady" retType="bool" paramCount="0" desc="Check if audio device has been initialized successfully">
<Function name="IsAudioDeviceValid" retType="bool" paramCount="0" desc="Check if audio device has been initialized successfully">
</Function>
<Function name="SetMasterVolume" retType="void" paramCount="1" desc="Set master volume (listener)">
<Param type="float" name="volume" desc="" />
@ -2803,7 +2803,7 @@
<Param type="const unsigned char *" name="fileData" desc="" />
<Param type="int" name="dataSize" desc="" />
</Function>
<Function name="IsWaveReady" retType="bool" paramCount="1" desc="Checks if wave data is ready">
<Function name="IsWaveValid" retType="bool" paramCount="1" desc="Checks if wave data is ready">
<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="IsSoundReady" retType="bool" paramCount="1" desc="Checks if a sound is ready">
<Function name="IsSoundValid" retType="bool" paramCount="1" desc="Checks if a sound is ready">
<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="IsMusicReady" 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 ready">
<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="IsAudioStreamReady" 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 ready">
<Param type="AudioStream" name="stream" desc="" />
</Function>
<Function name="UnloadAudioStream" retType="void" paramCount="1" desc="Unload audio stream and free memory">