EGL15.EglGetPlatformDisplay(Int32, Int64, Int64[], 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.
Obtains an EGL display connection for an explicitly selected native platform.
[Android.Runtime.Register("eglGetPlatformDisplay", "(IJ[JI)Landroid/opengl/EGLDisplay;", "", ApiSince=29)]
public static Android.Opengl.EGLDisplay? EglGetPlatformDisplay(int platform, long native_display, long[]? attrib_list, int offset);
[<Android.Runtime.Register("eglGetPlatformDisplay", "(IJ[JI)Landroid/opengl/EGLDisplay;", "", ApiSince=29)>]
static member EglGetPlatformDisplay : int * int64 * int64[] * int -> Android.Opengl.EGLDisplay
Parameters
- platform
- Int32
The native-platform token defined by an EGL platform extension.
- native_display
- Int64
The native display identifier or pointer value required by that platform.
- attrib_list
- Int64[]
A non-null array of platform display attribute-value pairs, terminated by EGL14.EglNone.
- offset
- Int32
The nonnegative index of the first display attribute in attrib_list.
Returns
A wrapper for the EGL display connection; its native handle is zero if no matching display is available or EGL reports failure.
- Attributes
Remarks
The platform extension defines the accepted native display representation and optional attributes. Repeating the same native request returns the same EGL display handle; this does not promise that managed wrapper instances are identical.