EGL14.EglCreatePbufferFromClientBuffer 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.
Creates a pixel-buffer surface from an OpenVG image on a 32-bit process.
[Android.Runtime.Register("eglCreatePbufferFromClientBuffer", "(Landroid/opengl/EGLDisplay;IILandroid/opengl/EGLConfig;[II)Landroid/opengl/EGLSurface;", "")]
public static Android.Opengl.EGLSurface? EglCreatePbufferFromClientBuffer(Android.Opengl.EGLDisplay? dpy, int buftype, int buffer, Android.Opengl.EGLConfig? config, int[]? attrib_list, int offset);
[<Android.Runtime.Register("eglCreatePbufferFromClientBuffer", "(Landroid/opengl/EGLDisplay;IILandroid/opengl/EGLConfig;[II)Landroid/opengl/EGLSurface;", "")>]
static member EglCreatePbufferFromClientBuffer : Android.Opengl.EGLDisplay * int * int * Android.Opengl.EGLConfig * int[] * int -> Android.Opengl.EGLSurface
Parameters
- dpy
- EGLDisplay
The EGL display used to create the pixel-buffer surface.
- buftype
- Int32
EglOpenvgImage, identifying an OpenVG image as the client buffer.
- buffer
- Int32
The OpenVG image handle represented as a 32-bit integer. This overload throws Java.Lang.UnsupportedOperationException in a 64-bit process.
- config
- EGLConfig
The EGL configuration that defines the pixel-buffer surface's framebuffer resources.
- attrib_list
- Int32[]
An EglNone-terminated array of surface attribute-value pairs, or null to use native EGL defaults.
- offset
- Int32
The nonnegative index of the first surface attribute; ignored when attrib_list is null.
Returns
The created EGL surface, or a surface wrapper with a zero native handle if native EGL creation fails.
- 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.