Documentation

Unity Engine

Unity Engine

GetBlockSize

Returns the memory size in bytes of a texel block.
Read time 1 minuteLast updated 2 months 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