Version: 2021.3
언어: 한국어

VisualEffect.SetGraphicsBuffer

매뉴얼로 전환
public void SetGraphicsBuffer (int nameID, GraphicsBuffer g);
public void SetGraphicsBuffer (string name, GraphicsBuffer g);

파라미터

nameID The ID of the property. This is the same ID that Shader.PropertyToID returns.
name The name of the property.
g The new GraphicsBuffer value.

설명

Sets the value of a named GraphicsBuffer property.

Unity does not serialize this reference because GraphicsBuffer isn't a UnityEngine.Object.