docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IGPUResidentRenderPipeline

    Interface that can be added to a RenderPipelineAsset which indicates that it can support the GPUResidentDrawer.

    Namespace: UnityEngine.Rendering
    Assembly: Unity.RenderPipelines.GPUDriven.Runtime.dll
    Syntax
    public interface IGPUResidentRenderPipeline

    Properties

    gpuResidentDrawerMode

    The mode the GPUResidentDrawer is configured for on this RenderPipeline

    Declaration
    GPUResidentDrawerMode gpuResidentDrawerMode { get; set; }
    Property Value
    Type Description
    GPUResidentDrawerMode

    gpuResidentDrawerSettings

    Gets the GPU resident drawer settings

    Declaration
    GPUResidentDrawerSettings gpuResidentDrawerSettings { get; }
    Property Value
    Type Description
    GPUResidentDrawerSettings

    Methods

    IsGPUResidentDrawerEnabled()

    Is GPUResidentDrawer currently enabled

    Declaration
    public static bool IsGPUResidentDrawerEnabled()
    Returns
    Type Description
    bool

    true if enabled

    IsGPUResidentDrawerSupportedByProjectConfiguration(bool)

    Is GPUResidentDrawer supported on this current configuration?

    Declaration
    public static bool IsGPUResidentDrawerSupportedByProjectConfiguration(bool logReason = false)
    Parameters
    Type Name Description
    bool logReason

    Should the reason for non support be logged?

    Returns
    Type Description
    bool

    true if supported

    IsGPUResidentDrawerSupportedBySRP(bool)

    Is the GPU resident drawer supported on this render pipeline.

    Declaration
    bool IsGPUResidentDrawerSupportedBySRP(bool logReason = false)
    Parameters
    Type Name Description
    bool logReason

    Should the reason for non support be logged?

    Returns
    Type Description
    bool

    true if supported

    IsGPUResidentDrawerSupportedBySRP(out string, out LogType)

    Is the GPU resident drawer supported on this render pipeline.

    Declaration
    bool IsGPUResidentDrawerSupportedBySRP(out string message, out LogType severity)
    Parameters
    Type Name Description
    string message

    Why the system is not supported

    LogType severity

    The severity of the message

    Returns
    Type Description
    bool

    true if supported

    ReinitializeGPUResidentDrawer()

    Callback for use when the GPUResidentDrawer needs to be reinitialized.

    Declaration
    public static void ReinitializeGPUResidentDrawer()

    Extension Methods

    ReflectionUtils.GetField(object, string)
    ReflectionUtils.GetFields(object)
    ReflectionUtils.Invoke(object, string, params object[])
    ReflectionUtils.SetField(object, string, object)
    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, bool)
    AnalyticsUtils.ToNestedColumn<T>(T, T)
    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)