CommandBuffer.SetGlobalVector

Declaration

public void SetGlobalVector(string name, Vector4 value);

Declaration

public void SetGlobalVector(int nameID, Vector4 value);

Description

Add a "set global shader vector property" command.

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


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