Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


IsAlphaTestFormat

Returns true if the format has an alpha component with only 1 or 2 bits. Returns false otherwise.
Read time 1 minuteLast updated 9 days ago

Definition

IsAlphaTestFormat(GraphicsFormat)

Returns true if the format has an alpha component with only 1 or 2 bits. Returns false otherwise.
public static bool IsAlphaTestFormat(GraphicsFormat format)

Parameters

Returns

Type

Description

bool

IsAlphaTestFormat(TextureFormat)

Returns true if the format has an alpha component with only 1 or 2 bits. Returns false otherwise.
public static bool IsAlphaTestFormat(TextureFormat format)

Parameters

Returns

Type

Description

bool