기술 자료

Unity Engine

Unity Engine

SetGlobalVectorArray

Add a "set global shader vector array property" command.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

SetGlobalVectorArray(int, Vector4[])

Add a "set global shader vector array property" command.
public void SetGlobalVectorArray(int nameID, Vector4[] values)

Parameters

nameID


values

Remarks

When the command buffer will be executed, a global shader vector array property will be set at this point. The effect is as if Shader.SetGlobalVectorArray was called.

SetGlobalVectorArray(string, List<Vector4>)

Add a "set global shader vector array property" command.
public void SetGlobalVectorArray(string propertyName, List<Vector4> values)

Parameters

propertyName


Remarks

When the command buffer will be executed, a global shader vector array property will be set at this point. The effect is as if Shader.SetGlobalVectorArray was called.

SetGlobalVectorArray(int, List<Vector4>)

Add a "set global shader vector array property" command.
public void SetGlobalVectorArray(int nameID, List<Vector4> values)

Parameters

nameID


Remarks

When the command buffer will be executed, a global shader vector array property will be set at this point. The effect is as if Shader.SetGlobalVectorArray was called.

SetGlobalVectorArray(string, Vector4[])

Add a "set global shader vector array property" command.
public void SetGlobalVectorArray(string propertyName, Vector4[] values)

Parameters

propertyName


values

Remarks

When the command buffer will be executed, a global shader vector array property will be set at this point. The effect is as if Shader.SetGlobalVectorArray was called.