EGL14.EglInitialize(EGLDisplay, Int32[], Int32, Int32[], Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes an EGL display connection and optionally reports its EGL version.
[Android.Runtime.Register("eglInitialize", "(Landroid/opengl/EGLDisplay;[II[II)Z", "")]
public static bool EglInitialize(Android.Opengl.EGLDisplay? dpy, int[]? major, int majorOffset, int[]? minor, int minorOffset);
[<Android.Runtime.Register("eglInitialize", "(Landroid/opengl/EGLDisplay;[II[II)Z", "")>]
static member EglInitialize : Android.Opengl.EGLDisplay * int[] * int * int[] * int -> bool
Parameters
- dpy
- EGLDisplay
The EGL display connection to initialize.
- major
- Int32[]
An array receiving the EGL major version at majorOffset on success, or null if that value is not needed.
- majorOffset
- Int32
A valid index in major for the major version; ignored when major is null.
- minor
- Int32[]
An array receiving the EGL minor version at minorOffset on success, or null if that value is not needed.
- minorOffset
- Int32
A valid index in minor for the minor version; ignored when minor is null.
Returns
true if the display is initialized successfully, including when it was already initialized; otherwise, false.
- Attributes
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.