文档

Unity Engine

Unity Engine

IsCameraBufferNeeded(Camera)

Queries which buffers the VFX Manager needs for the given Camera.
阅读时间1 分钟最后更新于 1 个月前

Definition

public static VFXCameraBufferTypes IsCameraBufferNeeded(Camera cam)

Parameters

The Camera for which to query needed buffers.

Returns

Type

Description

VFXCameraBufferTypesA list of all needed buffer flags.

Remarks

Use this call to make your custom SRP support screen space effects in VFX Graph.