docs.unity.cn
    Show / Hide Table of Contents

    Class Hammersley

    Utility class to bind Hammersley shader constants for Compute Shader

    Inheritance
    Object
    Hammersley
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEngine.Rendering
    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()
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 08 September 2023