VisualEffect.SetGraphicsBuffer

Declaration

public void SetGraphicsBuffer(int nameID, GraphicsBuffer g);

Declaration

public void SetGraphicsBuffer(string name, GraphicsBuffer g);

Parameters

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.

Description

Sets the value of a named GraphicsBuffer property.

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


Did you find this page useful? Please give it a rating: