-
Notifications
You must be signed in to change notification settings - Fork 2
raylib.IsRenderTextureValid
JoeStrout edited this page Apr 29, 2026
·
3 revisions
Check if a render texture is valid (loaded in GPU)
| Parameter | Default Value | Note |
|---|---|---|
| target |
| Condition | Return Value |
|---|---|
| (always) | number |
rt = raylib.LoadRenderTexture(800, 600)
if raylib.IsRenderTextureValid(rt) then
print "Render texture ready"
raylib.UnloadRenderTexture rt
end if