docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method SetComputeConstantBufferParam

    SetComputeConstantBufferParam(ComputeShader, int, ComputeBuffer, int, int)

    Wraps SetComputeConstantBufferParam on a CommandBuffer.

    Declaration
    public void SetComputeConstantBufferParam(ComputeShader computeShader, int nameID, ComputeBuffer buffer, int offset, int size)
    Parameters
    Type Name Description
    ComputeShader computeShader

    See CommandBuffer documentation

    int nameID

    See CommandBuffer documentation

    ComputeBuffer buffer

    See CommandBuffer documentation

    int offset

    See CommandBuffer documentation

    int size

    See CommandBuffer documentation

    Implements
    IComputeCommandBuffer.SetComputeConstantBufferParam(ComputeShader, int, ComputeBuffer, int, int)

    SetComputeConstantBufferParam(ComputeShader, string, ComputeBuffer, int, int)

    Wraps SetComputeConstantBufferParam on a CommandBuffer.

    Declaration
    public void SetComputeConstantBufferParam(ComputeShader computeShader, string name, ComputeBuffer buffer, int offset, int size)
    Parameters
    Type Name Description
    ComputeShader computeShader

    See CommandBuffer documentation

    string name

    See CommandBuffer documentation

    ComputeBuffer buffer

    See CommandBuffer documentation

    int offset

    See CommandBuffer documentation

    int size

    See CommandBuffer documentation

    Implements
    IComputeCommandBuffer.SetComputeConstantBufferParam(ComputeShader, string, ComputeBuffer, int, int)

    SetComputeConstantBufferParam(ComputeShader, int, GraphicsBuffer, int, int)

    Wraps SetComputeConstantBufferParam on a CommandBuffer.

    Declaration
    public void SetComputeConstantBufferParam(ComputeShader computeShader, int nameID, GraphicsBuffer buffer, int offset, int size)
    Parameters
    Type Name Description
    ComputeShader computeShader

    See CommandBuffer documentation

    int nameID

    See CommandBuffer documentation

    GraphicsBuffer buffer

    See CommandBuffer documentation

    int offset

    See CommandBuffer documentation

    int size

    See CommandBuffer documentation

    Implements
    IComputeCommandBuffer.SetComputeConstantBufferParam(ComputeShader, int, GraphicsBuffer, int, int)

    SetComputeConstantBufferParam(ComputeShader, string, GraphicsBuffer, int, int)

    Wraps SetComputeConstantBufferParam on a CommandBuffer.

    Declaration
    public void SetComputeConstantBufferParam(ComputeShader computeShader, string name, GraphicsBuffer buffer, int offset, int size)
    Parameters
    Type Name Description
    ComputeShader computeShader

    See CommandBuffer documentation

    string name

    See CommandBuffer documentation

    GraphicsBuffer buffer

    See CommandBuffer documentation

    int offset

    See CommandBuffer documentation

    int size

    See CommandBuffer documentation

    Implements
    IComputeCommandBuffer.SetComputeConstantBufferParam(ComputeShader, string, GraphicsBuffer, int, 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)