docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method SetComputeMatrixArrayParam

    SetComputeMatrixArrayParam(ComputeShader, int, Matrix4x4[])

    Wraps SetComputeMatrixArrayParam on a CommandBuffer.

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

    See CommandBuffer documentation

    int nameID

    See CommandBuffer documentation

    Matrix4x4[] values

    See CommandBuffer documentation

    Implements
    IComputeCommandBuffer.SetComputeMatrixArrayParam(ComputeShader, int, Matrix4x4[])

    SetComputeMatrixArrayParam(ComputeShader, string, Matrix4x4[])

    Wraps SetComputeMatrixArrayParam on a CommandBuffer.

    Declaration
    public void SetComputeMatrixArrayParam(ComputeShader computeShader, string name, Matrix4x4[] values)
    Parameters
    Type Name Description
    ComputeShader computeShader

    See CommandBuffer documentation

    string name

    See CommandBuffer documentation

    Matrix4x4[] values

    See CommandBuffer documentation

    Implements
    IComputeCommandBuffer.SetComputeMatrixArrayParam(ComputeShader, string, Matrix4x4[])
    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)