Język

EGL14.EglBindAPI(Int32) Method

Definition

Selects the current EGL client rendering API for the calling thread.

[Android.Runtime.Register("eglBindAPI", "(I)Z", "")]
public static bool EglBindAPI(int api);
[<Android.Runtime.Register("eglBindAPI", "(I)Z", "")>]
static member EglBindAPI : int -> bool

Parameters

api
Int32

The supported client API to select: EglOpenglApi, EglOpenglEsApi, or EglOpenvgApi.

Returns

true if the client API was selected; otherwise, false, leaving the previous selection unchanged.

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