Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetDepthBits(GraphicsFormat)

Returns the number of bits per pixel this format contains for depth.
Read time 1 minuteLast updated 5 days ago

Definition

public static int GetDepthBits(GraphicsFormat format)

Parameters

GraphicsFormat to use when retrieving the number of bits.

Returns

Type

Description

int