docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method SetBufferData

    SetBufferData(ComputeBuffer, Array)

    Wraps SetBufferData on a CommandBuffer.

    Declaration
    public void SetBufferData(ComputeBuffer buffer, Array data)
    Parameters
    Type Name Description
    ComputeBuffer buffer

    See CommandBuffer documentation

    Array data

    See CommandBuffer documentation

    Implements
    IComputeCommandBuffer.SetBufferData(ComputeBuffer, Array)

    SetBufferData<T>(ComputeBuffer, List<T>)

    Wraps SetBufferData on a CommandBuffer.

    Declaration
    public void SetBufferData<T>(ComputeBuffer buffer, List<T> data) where T : struct
    Parameters
    Type Name Description
    ComputeBuffer buffer

    See CommandBuffer documentation

    List<T> data

    See CommandBuffer documentation

    Type Parameters
    Name Description
    T

    See CommandBuffer documentation

    Implements
    IComputeCommandBuffer.SetBufferData<T>(ComputeBuffer, List<T>)

    SetBufferData<T>(ComputeBuffer, NativeArray<T>)

    Wraps SetBufferData on a CommandBuffer.

    Declaration
    public void SetBufferData<T>(ComputeBuffer buffer, NativeArray<T> data) where T : struct
    Parameters
    Type Name Description
    ComputeBuffer buffer

    See CommandBuffer documentation

    NativeArray<T> data

    See CommandBuffer documentation

    Type Parameters
    Name Description
    T

    See CommandBuffer documentation

    Implements
    IComputeCommandBuffer.SetBufferData<T>(ComputeBuffer, NativeArray<T>)

    SetBufferData(ComputeBuffer, Array, int, int, int)

    Wraps SetBufferData on a CommandBuffer.

    Declaration
    public void SetBufferData(ComputeBuffer buffer, Array data, int managedBufferStartIndex, int graphicsBufferStartIndex, int count)
    Parameters
    Type Name Description
    ComputeBuffer buffer

    See CommandBuffer documentation

    Array data

    See CommandBuffer documentation

    int managedBufferStartIndex

    See CommandBuffer documentation

    int graphicsBufferStartIndex

    See CommandBuffer documentation

    int count

    See CommandBuffer documentation

    Implements
    IComputeCommandBuffer.SetBufferData(ComputeBuffer, Array, int, int, int)

    SetBufferData<T>(ComputeBuffer, List<T>, int, int, int)

    Wraps SetBufferData on a CommandBuffer.

    Declaration
    public void SetBufferData<T>(ComputeBuffer buffer, List<T> data, int managedBufferStartIndex, int graphicsBufferStartIndex, int count) where T : struct
    Parameters
    Type Name Description
    ComputeBuffer buffer

    See CommandBuffer documentation

    List<T> data

    See CommandBuffer documentation

    int managedBufferStartIndex

    See CommandBuffer documentation

    int graphicsBufferStartIndex

    See CommandBuffer documentation

    int count

    See CommandBuffer documentation

    Type Parameters
    Name Description
    T

    See CommandBuffer documentation

    Implements
    IComputeCommandBuffer.SetBufferData<T>(ComputeBuffer, List<T>, int, int, int)

    SetBufferData<T>(ComputeBuffer, NativeArray<T>, int, int, int)

    Wraps SetBufferData on a CommandBuffer.

    Declaration
    public void SetBufferData<T>(ComputeBuffer buffer, NativeArray<T> data, int nativeBufferStartIndex, int graphicsBufferStartIndex, int count) where T : struct
    Parameters
    Type Name Description
    ComputeBuffer buffer

    See CommandBuffer documentation

    NativeArray<T> data

    See CommandBuffer documentation

    int nativeBufferStartIndex

    See CommandBuffer documentation

    int graphicsBufferStartIndex

    See CommandBuffer documentation

    int count

    See CommandBuffer documentation

    Type Parameters
    Name Description
    T

    See CommandBuffer documentation

    Implements
    IComputeCommandBuffer.SetBufferData<T>(ComputeBuffer, NativeArray<T>, int, int, int)

    SetBufferData(GraphicsBuffer, Array)

    Wraps SetBufferData on a CommandBuffer.

    Declaration
    public void SetBufferData(GraphicsBuffer buffer, Array data)
    Parameters
    Type Name Description
    GraphicsBuffer buffer

    See CommandBuffer documentation

    Array data

    See CommandBuffer documentation

    Implements
    IComputeCommandBuffer.SetBufferData(GraphicsBuffer, Array)

    SetBufferData<T>(GraphicsBuffer, List<T>)

    Wraps SetBufferData on a CommandBuffer.

    Declaration
    public void SetBufferData<T>(GraphicsBuffer buffer, List<T> data) where T : struct
    Parameters
    Type Name Description
    GraphicsBuffer buffer

    See CommandBuffer documentation

    List<T> data

    See CommandBuffer documentation

    Type Parameters
    Name Description
    T

    See CommandBuffer documentation

    Implements
    IComputeCommandBuffer.SetBufferData<T>(GraphicsBuffer, List<T>)

    SetBufferData<T>(GraphicsBuffer, NativeArray<T>)

    Wraps SetBufferData on a CommandBuffer.

    Declaration
    public void SetBufferData<T>(GraphicsBuffer buffer, NativeArray<T> data) where T : struct
    Parameters
    Type Name Description
    GraphicsBuffer buffer

    See CommandBuffer documentation

    NativeArray<T> data

    See CommandBuffer documentation

    Type Parameters
    Name Description
    T

    See CommandBuffer documentation

    Implements
    IComputeCommandBuffer.SetBufferData<T>(GraphicsBuffer, NativeArray<T>)

    SetBufferData(GraphicsBuffer, Array, int, int, int)

    Wraps SetBufferData on a CommandBuffer.

    Declaration
    public void SetBufferData(GraphicsBuffer buffer, Array data, int managedBufferStartIndex, int graphicsBufferStartIndex, int count)
    Parameters
    Type Name Description
    GraphicsBuffer buffer

    See CommandBuffer documentation

    Array data

    See CommandBuffer documentation

    int managedBufferStartIndex

    See CommandBuffer documentation

    int graphicsBufferStartIndex

    See CommandBuffer documentation

    int count

    See CommandBuffer documentation

    Implements
    IComputeCommandBuffer.SetBufferData(GraphicsBuffer, Array, int, int, int)

    SetBufferData<T>(GraphicsBuffer, List<T>, int, int, int)

    Wraps SetBufferData on a CommandBuffer.

    Declaration
    public void SetBufferData<T>(GraphicsBuffer buffer, List<T> data, int managedBufferStartIndex, int graphicsBufferStartIndex, int count) where T : struct
    Parameters
    Type Name Description
    GraphicsBuffer buffer

    See CommandBuffer documentation

    List<T> data

    See CommandBuffer documentation

    int managedBufferStartIndex

    See CommandBuffer documentation

    int graphicsBufferStartIndex

    See CommandBuffer documentation

    int count

    See CommandBuffer documentation

    Type Parameters
    Name Description
    T

    See CommandBuffer documentation

    Implements
    IComputeCommandBuffer.SetBufferData<T>(GraphicsBuffer, List<T>, int, int, int)

    SetBufferData<T>(GraphicsBuffer, NativeArray<T>, int, int, int)

    Wraps SetBufferData on a CommandBuffer.

    Declaration
    public void SetBufferData<T>(GraphicsBuffer buffer, NativeArray<T> data, int nativeBufferStartIndex, int graphicsBufferStartIndex, int count) where T : struct
    Parameters
    Type Name Description
    GraphicsBuffer buffer

    See CommandBuffer documentation

    NativeArray<T> data

    See CommandBuffer documentation

    int nativeBufferStartIndex

    See CommandBuffer documentation

    int graphicsBufferStartIndex

    See CommandBuffer documentation

    int count

    See CommandBuffer documentation

    Type Parameters
    Name Description
    T

    See CommandBuffer documentation

    Implements
    IComputeCommandBuffer.SetBufferData<T>(GraphicsBuffer, NativeArray<T>, int, 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)