VerticesMode

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

    Declaration

    Swift

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

    Parameters

    raw

    The raw integer value to initialise the enum from

  • FIXME, equivalent to <constant>GL_POINTS</constant>

    Declaration

    Swift

    static let points: CoglVerticesMode
  • FIXME, equivalent to <constant>GL_LINES</constant>

    Declaration

    Swift

    static let lines: CoglVerticesMode
  • FIXME, equivalent to <constant>GL_LINE_LOOP</constant>

    Declaration

    Swift

    static let lineLoop: CoglVerticesMode
  • FIXME, equivalent to <constant>GL_LINE_STRIP</constant>

    Declaration

    Swift

    static let lineStrip: CoglVerticesMode
  • FIXME, equivalent to <constant>GL_TRIANGLES</constant>

    Declaration

    Swift

    static let triangles: CoglVerticesMode
  • FIXME, equivalent to <constant>GL_TRIANGLE_STRIP</constant>

    Declaration

    Swift

    static let triangleStrip: CoglVerticesMode
  • FIXME, equivalent to <constant>GL_TRIANGLE_FAN</constant>

    Declaration

    Swift

    static let triangleFan: CoglVerticesMode