Lua Shader Language Helper Functions

From GiderosMobile
Revision as of 22:33, 2 July 2020 by Anthony (talk | contribs) (Created page with "{| class="wikitable" |- ! Function !! Syntax !! Description |- | discard || discard() || The discard function is only allowed within fragment shaders. It can be used within a...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Function Syntax Description
discard discard() The discard function is only allowed within fragment shaders. It can be used within a fragment shader to abandon the operation on the current fragment. This function causes the fragment to be discarded and no updates to any buffers will occur.