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

GraphicsFormatUtility.GetDepthBits

Declaration

public static int GetDepthBits(Experimental.Rendering.GraphicsFormat format);

Parameters

format GraphicsFormat to use when retrieving the number of bits.

Description

Returns the number of bits per pixel this format contains for depth.