Class ConstantBuffer
Constant Buffer management class.
Inherited Members
Namespace: UnityEngine .Rendering
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
public class ConstantBuffer
Methods
Name | Description |
---|---|
Push |
Update the GPU data of the constant buffer and bind it globally via a command buffer. |
Push |
Update the GPU data of the constant buffer and bind it globally. |
Push<CBType>(Command |
Update the GPU data of the constant buffer and bind it to a compute shader via a command buffer. |
Push<CBType>(Command |
Update the GPU data of the constant buffer and bind it to a material via a command buffer. |
Push<CBType>(in CBType, Compute |
Update the GPU data of the constant buffer and bind it to a compute shader. |
Push<CBType>(in CBType, Material, int) | Update the GPU data of the constant buffer and bind it to a material. |
Release |
Release all currently allocated singleton constant buffers. This needs to be called before shutting down the application. |
Set |
Bind the constant buffer globally. |
Set |
Bind the constant buffer globally via a command buffer. |
Set<CBType>(Compute |
Bind the constant buffer to a compute shader. |
Set<CBType>(Material, int) | Bind the constant buffer to a material. |
Set<CBType>(Command |
Bind the constant buffer to a compute shader via a command buffer. |
Update |
Update the GPU data of the constant buffer via a command buffer. |
Update |
Update the GPU data of the constant buffer. |