Method SetGlobalConstantBuffer
SetGlobalConstantBuffer(ComputeBuffer, int, int, int)
Wraps SetGlobalConstantBuffer on a CommandBuffer.
Declaration
public void SetGlobalConstantBuffer(ComputeBuffer buffer, int nameID, int offset, int size)
Parameters
Type | Name | Description |
---|---|---|
ComputeBuffer | buffer | |
int | nameID | |
int | offset | |
int | size |
Implements
SetGlobalConstantBuffer(ComputeBuffer, string, int, int)
Wraps SetGlobalConstantBuffer on a CommandBuffer.
Declaration
public void SetGlobalConstantBuffer(ComputeBuffer buffer, string name, int offset, int size)
Parameters
Type | Name | Description |
---|---|---|
ComputeBuffer | buffer | |
string | name | |
int | offset | |
int | size |
Implements
SetGlobalConstantBuffer(GraphicsBuffer, int, int, int)
Wraps SetGlobalConstantBuffer on a CommandBuffer.
Declaration
public void SetGlobalConstantBuffer(GraphicsBuffer buffer, int nameID, int offset, int size)
Parameters
Type | Name | Description |
---|---|---|
GraphicsBuffer | buffer | |
int | nameID | |
int | offset | |
int | size |
Implements
SetGlobalConstantBuffer(GraphicsBuffer, string, int, int)
Wraps SetGlobalConstantBuffer on a CommandBuffer.
Declaration
public void SetGlobalConstantBuffer(GraphicsBuffer buffer, string name, int offset, int size)
Parameters
Type | Name | Description |
---|---|---|
GraphicsBuffer | buffer | |
string | name | |
int | offset | |
int | size |