Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

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

CanvasRenderer.hasPopInstruction

Switch to Manual
public bool hasPopInstruction;

Description

Enable 'render stack' pop draw call.

When rendering using the hierarchy the renderer can insert a 'pop'. The pop instruction is executed after all children have been rendered. The canvas renderer is rerendered using the configured pop materials.

See: SetPopMaterial popMaterialCount.