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

GraphicsFormatUtility.GetDepthBits

切换到手册
public static int GetDepthBits (Experimental.Rendering.GraphicsFormat format);

参数

format GraphicsFormat to use when retrieving the number of bits.

描述

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