setStencilReference method

void setStencilReference(
  1. int referenceValue
)

Implementation

void setStencilReference(int referenceValue) {
  if (referenceValue < 0 || referenceValue > 0xFFFFFFFF) {
    throw Exception(
        "The stencil reference value must be in the range [0, 2^32 - 1]");
  }
  _setStencilReference(referenceValue);
}