기술 자료

Unity Engine

Unity Engine

GetComponentCount

Returns the number of components this format has.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

GetComponentCount(GraphicsFormat)

Returns the number of components this format has.
public static uint GetComponentCount(GraphicsFormat format)

Parameters

GraphicsFormat to use when retrieving the number of bits.

Returns

Type

Description

uint

GetComponentCount(TextureFormat)

Returns the number of components this format has.
public static uint GetComponentCount(TextureFormat format)

Parameters

GraphicsFormat to use when retrieving the number of bits.

Returns

Type

Description

uint