Version: 2022.1
言語: 日本語
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 プロパティーの名前
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.