Version: 2023.2
Experimental: this API is experimental and might be changed or removed in the future.

GraphicsFormatUtility.IsDepthStencilFormat

切换到手册
public static bool IsDepthStencilFormat (Experimental.Rendering.GraphicsFormat format);

描述

Returns true if the format is a depth or stencil format. Returns false otherwise.