This version of Unity is unsupported.
Experimental: this API is experimental and might be changed or removed in the future.

GraphicsFormatUtility.IsDepthStencilFormat

Declaration

public static bool IsDepthStencilFormat(Experimental.Rendering.GraphicsFormat format);

Description

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