Revision Difference
render.SetStencilTestMask#565828
<function name="SetStencilTestMask" parent="render" type="libraryfunc">
<description>
Sets the unsigned 8-bit (`byte`) bitflag mask that will be bitwise ANDed with all values as they are read (tested) from the Stencil Buffer
This can be considered a "niche" Stencil function as it is not required for many Stencil use-cases.
This is a companion function to <page>render.SetStencilWriteMask</page> which modifies Stencil Buffer values as they are written.
For more detailed information on the Stencil system, including usage examples, see the <page text="Stencils Render Reference">render_stencils</page> page⤶
For more detailed information on the Stencil system, including usage examples, see the <page text="Stencils Render Reference">render_stencils</page> page.⤶
</description>
<realm>Client and Menu</realm>
<args>
<arg name="bitMask" type="number">
The 8-bit (`byte`) mask
The 8-bit (`byte`) mask.
Set to `255` to make no change to read Stencil Buffer values.
</arg>
</args>
</function>
Garry's Mod
Rust
Steamworks
Wiki Help