Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


VFXBatchedEffectInfo

This structure provides runtime information on how Unity batches a VisualEffectAsset.
Read time 1 minuteLast updated 12 days ago

Definition

public struct VFXBatchedEffectInfo

Fields

Value

Description

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.