docs.unity.cn
    Show / Hide Table of Contents

    Struct GPUPrefixSum.SupportResources

    Data structure containing the runtime resources that are bound by the command buffer.

    Namespace: UnityEngine.Rendering
    Syntax
    public struct SupportResources

    Properties

    output

    The prefix sum result.

    Declaration
    public readonly GraphicsBuffer output { get; }
    Property Value
    Type Description
    GraphicsBuffer

    Methods

    Create(Int32)

    Allocate support resources to accomodate a max count.

    Declaration
    public static GPUPrefixSum.SupportResources Create(int maxElementCount)
    Parameters
    Type Name Description
    Int32 maxElementCount

    The max element count.

    Returns
    Type Description
    GPUPrefixSum.SupportResources

    The created support resources.

    Dispose()

    Dispose the supporting resources.

    Declaration
    public void Dispose()

    Load(GPUPrefixSum.RenderGraphResources)

    Load supporting resources from Render Graph Resources.

    Declaration
    public static GPUPrefixSum.SupportResources Load(GPUPrefixSum.RenderGraphResources shaderGraphResources)
    Parameters
    Type Name Description
    GPUPrefixSum.RenderGraphResources shaderGraphResources

    Render Graph Resources

    Returns
    Type Description
    GPUPrefixSum.SupportResources

    The created support resources.

    Extension Methods

    AnalyticsUtils.ToNestedColumn<T>(T, Boolean)
    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, Boolean)
    ReflectionUtils.Invoke(Object, String, Object[])
    ReflectionUtils.SetField(Object, String, Object)
    ReflectionUtils.GetField(Object, String)
    ReflectionUtils.GetFields(Object)
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 07 July 2023