Język

EGL14.EglQueryContext(EGLDisplay, EGLContext, Int32, Int32[], Int32) Method

Definition

Reads one attribute of an EGL rendering context.

[Android.Runtime.Register("eglQueryContext", "(Landroid/opengl/EGLDisplay;Landroid/opengl/EGLContext;I[II)Z", "")]
public static bool EglQueryContext(Android.Opengl.EGLDisplay? dpy, Android.Opengl.EGLContext? ctx, int attribute, int[]? value, int offset);
[<Android.Runtime.Register("eglQueryContext", "(Landroid/opengl/EGLDisplay;Landroid/opengl/EGLContext;I[II)Z", "")>]
static member EglQueryContext : Android.Opengl.EGLDisplay * Android.Opengl.EGLContext * int * int[] * int -> bool

Parameters

dpy
EGLDisplay

The EGL display that owns ctx.

ctx
EGLContext

The rendering context to query.

attribute
Int32

The context attribute to read.

value
Int32[]

A non-null output array with room for one context attribute at offset.

offset
Int32

The nonnegative index in value at which to store the context attribute.

Returns

true if the context attribute was read successfully; 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.

Applies to