기술 자료

Unity Engine

Unity Engine

GetBlockSize

Returns the memory size in bytes of a texel block.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

GetBlockSize(GraphicsFormat)

Returns the memory size in bytes of a texel block.
public static uint GetBlockSize(GraphicsFormat format)

Parameters

Returns

Type

Description

uint

GetBlockSize(TextureFormat)

Returns the memory size in bytes of a texel block.
public static uint GetBlockSize(TextureFormat format)

Parameters

Returns

Type

Description

uint