Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetBlockSize

Returns the memory size in bytes of a texel block.
Read time 1 minuteLast updated 6 days ago

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