masks¶
Source: gamemode/framework/libraries/thirdparty/cl_mmask.lua
Melon's Masks
Documented functions: 5
Functions¶
masks.And(kind)masks.End(kind, x, y, w, h)masks.EndToTexture(texture, kind)masks.Source()masks.Start()
masks.And(kind)¶
-¶
- - Renders the given kind of mask and continues the mask render - This can be used to layer masks - This must be called post [masks.Source] - You still need to call End -
Realm: client
masks.End(kind, x, y, w, h)¶
-¶
- - Stops the source render and renders everything finally - See the module declaration for an explaination -
Realm: client
masks.EndToTexture(texture, kind)¶
-¶
- - Stops the source render and renders everything to the given ITexture -
Realm: client
masks.Source()¶
-¶
- Stops the destination render
- Whats between this and the
masks.Endcall is the source -
See the module declaration for an explaination¶
Realm: client
masks.Start()¶
-¶
-
- Starts the mask destination render
- Whats between this and the masks.Source call is the destination
- See the module declaration for an explaination
-
Realm: client