docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method SetComputeIntParams

    SetComputeIntParams(ComputeShader, string, params int[])

    Wraps SetComputeIntParams on a CommandBuffer.

    Declaration
    public void SetComputeIntParams(ComputeShader computeShader, string name, params int[] values)
    Parameters
    Type Name Description
    ComputeShader computeShader

    See CommandBuffer documentation

    string name

    See CommandBuffer documentation

    int[] values

    See CommandBuffer documentation

    Implements
    IComputeCommandBuffer.SetComputeIntParams(ComputeShader, string, params int[])

    SetComputeIntParams(ComputeShader, int, params int[])

    Wraps SetComputeIntParams on a CommandBuffer.

    Declaration
    public void SetComputeIntParams(ComputeShader computeShader, int nameID, params int[] values)
    Parameters
    Type Name Description
    ComputeShader computeShader

    See CommandBuffer documentation

    int nameID

    See CommandBuffer documentation

    int[] values

    See CommandBuffer documentation

    Implements
    IComputeCommandBuffer.SetComputeIntParams(ComputeShader, int, params int[])
    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)