You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JoeStrout edited this page Apr 29, 2026
·
2 revisions
Check if a material is valid (map textures loaded in GPU)
Parameters
Parameter
Default Value
Note
material
Return value
Condition
Return Value
(always)
number
Notes
Example
mat=raylib.LoadMaterialDefaultifraylib.IsMaterialValid(mat) thenprint"Material is valid"elseprint"Material failed to load"endifraylib.UnloadMaterialmat