SetGraphicsBuffer
Sets the value of a named GraphicsBuffer property.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Method
- Namespace: UnityEngine.VFX
- Assembly: UnityEngine.VFXModule
SetGraphicsBuffer(int, GraphicsBuffer)
Sets the value of a named GraphicsBuffer property.
public void SetGraphicsBuffer(int nameID, GraphicsBuffer g)
Parameters
The ID of the property. This is the same ID that Shader.PropertyToID returns.
The new GraphicsBuffer value.
Remarks
Unity does not serialize this reference because GraphicsBuffer isn't a Object.
SetGraphicsBuffer(string, GraphicsBuffer)
Sets the value of a named GraphicsBuffer property.
public void SetGraphicsBuffer(string name, GraphicsBuffer g)
Parameters
Remarks
Unity does not serialize this reference because GraphicsBuffer isn't a Object.