ShaderType

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

    Declaration

    Swift

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

    Parameters

    raw

    The raw integer value to initialise the enum from

  • A program for proccessing vertices

    Declaration

    Swift

    static let vertex: CoglShaderType
  • A program for processing fragments

    Declaration

    Swift

    static let fragment: CoglShaderType