MaterialLayerType

public extension MaterialLayerType
  • Cast constructor, converting any binary integer to a MaterialLayerType.

    Declaration

    Swift

    @inlinable
    init!<I>(_ raw: I) where I : BinaryInteger

    Parameters

    raw

    The raw integer value to initialise the enum from

  • The layer represents a <link linkend=“cogl-Textures”>texture</link>

    Declaration

    Swift

    static let texture: CoglMaterialLayerType