docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class RenderGraphObjectPool

    Helper class provided in the RenderGraphContext to all Render Passes. It allows you to do temporary allocations of various objects during a Render Pass.

    Inheritance
    object
    RenderGraphObjectPool
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.Experimental.Rendering.RenderGraphModule
    Assembly: Unity.RenderPipelines.Core.Runtime.dll
    Syntax
    public sealed class RenderGraphObjectPool

    Methods

    Name Description
    GetTempArray<T>(int)

    Allocate a temporary typed array of a specific size. Unity releases the array at the end of the Render Pass.

    GetTempMaterialPropertyBlock()

    Allocate a temporary MaterialPropertyBlock for the Render Pass.

    Extension Methods

    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, bool)
    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)