docs.unity3d.com
Search Results for

    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.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.Experimental.Rendering
    Assembly: Unity.RenderPipelines.Core.Runtime.dll
    Syntax
    public class BaseCommandBuffer

    Fields

    m_WrappedCommandBuffer

    Declaration
    protected CommandBuffer m_WrappedCommandBuffer
    Field Value
    Type Description
    CommandBuffer

    Properties

    name

    See (https://docs.unity3d.com/ScriptReference/Rendering.CommandBuffer-name.html)

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

    sizeInBytes

    See (https://docs.unity3d.com/ScriptReference/Rendering.CommandBuffer-sizeInBytes.html)

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

    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, bool)
    In This Article
    Back to top
    Copyright © 2024 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)