Version: 2022.3
LanguageEnglish
  • C#

VFXBatchedEffectInfo

struct in UnityEngine.VFX

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

This structure provides runtime information on how Unity batches a VisualEffectAsset.

Properties

activeBatchCountThe number of active batches the VisualEffectAsset uses.
activeInstanceCountThe number of active VisualEffect instances of this VisualEffectAsset.
inactiveBatchCountThe number of inactive batches that are allocated for later reuse.
maxInstancePerBatchCapacityThe maximum number of VisualEffect that can be instanciated in a single batch.
totalCPUSizeInBytesThe CPU size, in bytes, that the batches of this VisualEffectAsset use.
totalGPUSizeInBytesThe GPU size, in bytes, that the batches of this VisualEffectAsset use.
totalInstanceCapacityThe total number of VisualEffect that can be instanciated with the current allocated batches.
unbatchedInstanceCountThe number of VisualEffect instances that are not batched.
vfxAssetThe VisualEffectAsset associated with this Batched Effect Info.