docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method SetGlobalConstantBuffer

    SetGlobalConstantBuffer(ComputeBuffer, int, int, int)

    Wraps SetGlobalConstantBuffer on a CommandBuffer.

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

    See CommandBuffer documentation

    int nameID

    See CommandBuffer documentation

    int offset

    See CommandBuffer documentation

    int size

    See CommandBuffer documentation

    Implements
    IBaseCommandBuffer.SetGlobalConstantBuffer(ComputeBuffer, int, int, int)

    SetGlobalConstantBuffer(ComputeBuffer, string, int, int)

    Wraps SetGlobalConstantBuffer on a CommandBuffer.

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

    See CommandBuffer documentation

    string name

    See CommandBuffer documentation

    int offset

    See CommandBuffer documentation

    int size

    See CommandBuffer documentation

    Implements
    IBaseCommandBuffer.SetGlobalConstantBuffer(ComputeBuffer, string, int, int)

    SetGlobalConstantBuffer(GraphicsBuffer, int, int, int)

    Wraps SetGlobalConstantBuffer on a CommandBuffer.

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

    See CommandBuffer documentation

    int nameID

    See CommandBuffer documentation

    int offset

    See CommandBuffer documentation

    int size

    See CommandBuffer documentation

    Implements
    IBaseCommandBuffer.SetGlobalConstantBuffer(GraphicsBuffer, int, int, int)

    SetGlobalConstantBuffer(GraphicsBuffer, string, int, int)

    Wraps SetGlobalConstantBuffer on a CommandBuffer.

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

    See CommandBuffer documentation

    string name

    See CommandBuffer documentation

    int offset

    See CommandBuffer documentation

    int size

    See CommandBuffer documentation

    Implements
    IBaseCommandBuffer.SetGlobalConstantBuffer(GraphicsBuffer, string, 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)