Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetETC1SupportedCanvasMaterial()

Gets or generates the ETC1 Material.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.UIModule
public static Material GetETC1SupportedCanvasMaterial()

Returns

Type

Description

MaterialThe generated ETC1 Material from the Canvas.

Remarks

Uses the UI/DefaultETC1 Shader which must be specified in the Always Included Shader list.