Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetBlockWidth

Returns the width in texels of a texel block.
Read time 1 minuteLast updated 6 days ago

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