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

Script language

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

ParticleSystemRenderer.enableGPUInstancing

public var enableGPUInstancing: bool;

Description

Enables GPU Instancing on platforms where it is supported.

To be able to render a Particle System using GPU Instancing, it must also use a shader that contains a Procedural Instancing pass (that is, it contains the #pragma instancing_options procedural directive).

no example available in JavaScript

Did you find this page useful? Please give it a rating: