LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

This version of Unity is unsupported.
Experimental: this API is experimental and might be changed or removed in the future.

StencilState.readMask

public byte readMask;

Description

An 8 bit mask as an 0–255 integer, used when comparing the reference value with the contents of the buffer.