docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct GPUSort

    Utility class for sorting (key, value) pairs on the GPU.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.Rendering
    Assembly: Unity.RenderPipelines.Core.Runtime.dll
    Syntax
    public struct GPUSort

    Constructors

    GPUSort(SystemResources)

    Initializes a re-usable GPU sorting instance.

    Declaration
    public GPUSort(GPUSort.SystemResources resources)
    Parameters
    Type Name Description
    GPUSort.SystemResources resources

    The required system resources.

    Methods

    Dispatch(CommandBuffer, Args)

    Sorts a list of (key, value) pairs.

    Declaration
    public void Dispatch(CommandBuffer cmd, GPUSort.Args args)
    Parameters
    Type Name Description
    CommandBuffer cmd

    Command buffer for recording the sorting commands.

    GPUSort.Args args

    Runtime arguments for the sorting.

    Extension Methods

    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, bool)
    AnalyticsUtils.ToNestedColumn<T>(T, bool)
    AnalyticsUtils.ToNestedColumn<T>(T, T)
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)