docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class CommandBufferPool

    Command Buffer Pool

    Inheritance
    object
    CommandBufferPool
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.Rendering
    Assembly: Unity.RenderPipelines.Core.Runtime.dll
    Syntax
    public static class CommandBufferPool

    Methods

    Get()

    Get a new Command Buffer.

    Declaration
    public static CommandBuffer Get()
    Returns
    Type Description
    CommandBuffer

    Get(string)

    Get a new Command Buffer and assign a name to it. Named Command Buffers will add profiling makers implicitly for the buffer execution.

    Declaration
    public static CommandBuffer Get(string name)
    Parameters
    Type Name Description
    string name
    Returns
    Type Description
    CommandBuffer

    Release(CommandBuffer)

    Release a Command Buffer.

    Declaration
    public static void Release(CommandBuffer buffer)
    Parameters
    Type Name Description
    CommandBuffer buffer
    In This Article
    Back to top
    Copyright © 2025 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)