Class Hammersley
Utility class to bind Hammersley shader constants for Compute Shader
Inherited Members
Namespace: UnityEngine.Rendering
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
public static class Hammersley
Methods
BindConstants(CommandBuffer, ComputeShader)
Bind the constant buffer to a compute shader via a command buffer using Hammersley constants.
Declaration
public static void BindConstants(CommandBuffer cmd, ComputeShader cs)
Parameters
Type | Name | Description |
---|---|---|
CommandBuffer | cmd | Command Buffer used to execute the graphic commands. |
ComputeShader | cs | Compute shader to which the constant buffer should be bound. |
Initialize()
Initializing Hammersley constants.
Declaration
public static void Initialize()