기술 자료

Unity Engine

Unity Engine

SetGraphicsBuffer

Sets the value of a named GraphicsBuffer property.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

SetGraphicsBuffer(int, GraphicsBuffer)

Sets the value of a named GraphicsBuffer property.
public void SetGraphicsBuffer(int nameID, GraphicsBuffer g)

Parameters

nameID

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

name

The name of the property.

The new GraphicsBuffer value.

Remarks

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