docs.unity.cn
    Show / Hide Table of Contents

    Class BaseCommandBuffer

    Render graph command buffer types inherit from this base class. It provides some shared functionality for all command buffer types.

    Inheritance
    Object
    BaseCommandBuffer
    ComputeCommandBuffer
    LowLevelCommandBuffer
    RasterCommandBuffer
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEngine.Experimental.Rendering
    Syntax
    public class BaseCommandBuffer

    Fields

    m_WrappedCommandBuffer

    Declaration
    protected CommandBuffer m_WrappedCommandBuffer
    Field Value
    Type Description
    CommandBuffer

    Properties

    name

    See (https://docs.unity.cn/ScriptReference/Rendering.CommandBuffer-name.html)

    Declaration
    public string name { get; }
    Property Value
    Type Description
    String

    sizeInBytes

    See (https://docs.unity.cn/ScriptReference/Rendering.CommandBuffer-sizeInBytes.html)

    Declaration
    public int sizeInBytes { get; }
    Property Value
    Type Description
    Int32

    Methods

    ThrowIfGlobalStateNotAllowed()

    Declaration
    protected void ThrowIfGlobalStateNotAllowed()

    ValidateTextureHandle(TextureHandle)

    Declaration
    protected void ValidateTextureHandle(TextureHandle h)
    Parameters
    Type Name Description
    TextureHandle h

    ValidateTextureHandleRead(TextureHandle)

    Declaration
    protected void ValidateTextureHandleRead(TextureHandle h)
    Parameters
    Type Name Description
    TextureHandle h

    ValidateTextureHandleWrite(TextureHandle)

    Declaration
    protected void ValidateTextureHandleWrite(TextureHandle h)
    Parameters
    Type Name Description
    TextureHandle h

    Extension Methods

    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 08 September 2023