EGLVersion


public final class EGLVersion


Identifier for the current EGL implementation

Summary

Public fields

static final @NonNull EGLVersion

Sentinel EglVersion value returned in error situations

static final @NonNull EGLVersion

Constant that represents version 1.4 of the EGL spec

static final @NonNull EGLVersion

Constant that represents version 1.5 of the EGL spec

Public constructors

EGLVersion(int major, int minor)

Public methods

final int

Major version of the EGL implementation

final int

Minor version of the EGL implementation

@NonNull String

Public fields

Unknown

public static final @NonNull EGLVersion Unknown

Sentinel EglVersion value returned in error situations

V14

public static final @NonNull EGLVersion V14

Constant that represents version 1.4 of the EGL spec

V15

public static final @NonNull EGLVersion V15

Constant that represents version 1.5 of the EGL spec

Public constructors

EGLVersion

Added in 1.0.2
public EGLVersion(int major, int minor)
Parameters
int major

Major version of the EGL implementation

int minor

Minor version of the EGL implementation

Public methods

getMajor

Added in 1.0.2
public final int getMajor()

Major version of the EGL implementation

getMinor

Added in 1.0.2
public final int getMinor()

Minor version of the EGL implementation

toString

public @NonNull String toString()