文档

Unity Engine

Unity Engine

TryGetRenderPipelineSettings<T>(out T)

Gets a IRenderPipelineGraphicsSettings from the GraphicsSettings and returns if the setting is found.
阅读时间1 分钟最后更新于 1 个月前

Definition

TryGetRenderPipelineSettings<T>(T)

public static bool TryGetRenderPipelineSettings<T>(out T settings) where T : class, IRenderPipelineGraphicsSettings

Parameters

settings

T

Returns

Type

Description

boolTrue if the IRenderPipelineGraphicsSettings is currently available and registered for the given pipeline.