Class CommandBufferPool | Core RP Library | 7.2.1
docs.unity3d.com
    Show / Hide Table of Contents

    Class CommandBufferPool

    Command Buffer Pool

    Inheritance
    Object
    CommandBufferPool
    Namespace: UnityEngine.Rendering
    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.

    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
    • Methods
      • Get()
      • Get(String)
      • Release(CommandBuffer)
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023