docs.unity.cn
    Show / Hide Table of Contents

    Class CommandBufferPool

    Command Buffer Pool

    Inheritance
    Object
    CommandBufferPool
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    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. 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
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 08 September 2023