文档

Unity Engine

Unity Engine

GetBlockSize

Returns the memory size in bytes of a texel block.
阅读时间1 分钟最后更新于 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