Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetAlphaComponentCount

Returns the number of alpha components of the format.
Read time 1 minuteLast updated 7 days ago

Definition

GetAlphaComponentCount(GraphicsFormat)

Returns the number of alpha components of the format.
public static uint GetAlphaComponentCount(GraphicsFormat format)

Parameters

Returns

Type

Description

uint

GetAlphaComponentCount(TextureFormat)

Returns the number of alpha components of the format.
public static uint GetAlphaComponentCount(TextureFormat format)

Parameters

Returns

Type

Description

uint