Documentation

Unity Engine

Unity Engine

IsAlphaOnlyFormat

Returns true if the format only has an alpha component. Returns false otherwise.
Read time 1 minuteLast updated 2 months ago

Definition

IsAlphaOnlyFormat(GraphicsFormat)

Returns true if the format only has an alpha component. Returns false otherwise.
public static bool IsAlphaOnlyFormat(GraphicsFormat format)

Parameters

Returns

Type

Description

bool

IsAlphaOnlyFormat(TextureFormat)

Returns true if the format only has an alpha component. Returns false otherwise.
public static bool IsAlphaOnlyFormat(TextureFormat format)

Parameters

Returns

Type

Description

bool