Check if a model is valid (loaded in GPU, VAO/VBOs)
mesh = raylib.GenMeshCube(1, 1, 1) model = raylib.LoadModelFromMesh(mesh) if raylib.IsModelValid(model) then print "Model loaded successfully" end if raylib.UnloadModel model
There was an error while loading. Please reload this page.