docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method SetComputeIntParam

    SetComputeIntParam(ComputeShader, int, int)

    Wraps SetComputeIntParam on a CommandBuffer.

    Declaration
    void SetComputeIntParam(ComputeShader computeShader, int nameID, int val)
    Parameters
    Type Name Description
    ComputeShader computeShader

    See CommandBuffer documentation

    int nameID

    See CommandBuffer documentation

    int val

    See CommandBuffer documentation

    SetComputeIntParam(ComputeShader, string, int)

    Wraps SetComputeIntParam on a CommandBuffer.

    Declaration
    void SetComputeIntParam(ComputeShader computeShader, string name, int val)
    Parameters
    Type Name Description
    ComputeShader computeShader

    See CommandBuffer documentation

    string name

    See CommandBuffer documentation

    int val

    See CommandBuffer documentation

    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)