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