Version: 2022.3

VFXBatchedEffectInfo

struct in UnityEngine.VFX

切换到手册

描述

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

变量

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.