iOS Developer Library

Developer

OpenGLES Framework Reference EAGL Functions Reference

Options
Deployment Target:

On This Page
Language:

EAGL Functions Reference

This document describes the functions in the OpenGL ES framework.

Functions

  • Retrieves the version information for the EAGL implementation.

    Declaration

    Swift

    func EAGLGetVersion(_ major: UnsafeMutablePointer<UInt32>, _ minor: UnsafeMutablePointer<UInt32>)

    Objective-C

    void EAGLGetVersion ( unsigned int *major, unsigned int *minor );

    Parameters

    major

    On output, the major version of the EAGL implementation.

    minor

    On output, the minor version of the EAGL implementation.

    Discussion

    If major and minor parameters are not nil, they return the major and minor version number of the EAGL implementation, respectively.

    Import Statement

    Objective-C

    @import OpenGLES;

    Swift

    import OpenGLES

    Availability

    Available in iOS 2.0 and later.