render.SetStencilCompareFunction
From GMod Wiki
This page needs to be edited as it contains information that is unclear or incorrect. Improvement can be discussed on the talk page. Find more pages that need work here. Details: None given. |
Function | |
Syntax |
render.SetStencilCompareFunction( enum StencilCompareFunction ) Where is this used? |
Description: | |
Sets the stencil compare function. | |
Returns: | nil |
Part of Library: | render |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Render.SetStencilCompareFunction]Render.SetStencilCompareFunction [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
These are the comparision enums.
CLIENT | 0000000000000001 | 00000000000000001 | STENCILCOMPARISONFUNCTION_NEVER CLIENT | 0000000000000002 | 00000000000000010 | STENCILCOMPARISONFUNCTION_LESS CLIENT | 0000000000000003 | 00000000000000011 | STENCILCOMPARISONFUNCTION_EQUAL CLIENT | 0000000000000004 | 00000000000000100 | STENCILCOMPARISONFUNCTION_LESSEQUAL CLIENT | 0000000000000005 | 00000000000000101 | STENCILCOMPARISONFUNCTION_GREATER CLIENT | 0000000000000006 | 00000000000000110 | STENCILCOMPARISONFUNCTION_NOTEQUAL CLIENT | 0000000000000007 | 00000000000000111 | STENCILCOMPARISONFUNCTION_GREATEREQUAL CLIENT | 0000000000000008 | 00000000000001000 | STENCILCOMPARISONFUNCTION_ALWAYS