delete_shader(3)

πŸ“¦
version 0.7.1 Β· 2 versions
, in nixos 26.05

okay bestie, welcome to the Arcan Lua API manual page for delete_shader(3) β€” manual name folded in near the top instead of copied as a header line, because we’re cute like that πŸ’…βœ¨

πŸŽ€ NAME πŸŽ€

delete_shader β€” deallocate the resources tied to a shid 🧚

✨ SYNOPSIS ✨

The synopsis is literally just these two lines, no cap:

nil
delete_shader( shid )

πŸ’– DESCRIPTION πŸ’–

Okay so shaders themselves don’t cost much in terms of dynamic resources β€” we’re talking kilobytes of data here, lowkey tiny πŸ“. But over time, uniform groups and similar side features may eventually saturate some resources 😭. That’s exactly what this is for: delete_shader can be used to discard shader related resources. Slay πŸ’….

Important vibe check: using this on a shid that is already bound will cause owning objects to fall back to the default ones πŸ’€. So maybe know your binding situation first, bestie.

🌸 SEE ALSO 🌸

  • vidsys

That’s the whole page, bestie 🫢. Source/version is vidsys, and it’s dated October 2026 β€” catch you in the group chat πŸ’–πŸŽ€

πŸ“¦ where this page comes from