文档

Unity Engine

Unity Engine

GetBlockWidth

Returns the width in texels of a texel block.
阅读时间1 分钟最后更新于 1 个月前

Definition

GetBlockWidth(GraphicsFormat)

Returns the width in texels of a texel block.
public static uint GetBlockWidth(GraphicsFormat format)

Parameters

Returns

Type

Description

uint

GetBlockWidth(TextureFormat)

Returns the width in texels of a texel block.
public static uint GetBlockWidth(TextureFormat format)

Parameters

Returns

Type

Description

uint