gstglegl.eglimage

Module for [EGLImage] class

class EGLImage

Types 1

#GstEGLImage represents and holds an EGLImage handle.

A #GstEGLImage can be created from a dmabuf with [gstglegl.eglimage.EGLImage.fromDmabuf], or [gstglegl.eglimage.EGLImage.fromDmabufDirect], or #GstGLMemoryEGL provides a #GstAllocator to allocate EGLImage's bound to and OpenGL texture.

Methods
void * _cPtr(Flag!"Dup" dup = No.Dup)
GType _gType() @property
EGLImage self()Returns `this`, for use in `with` statements.
void * getImage()
gstglegl.eglimage.EGLImage fromDmabuf(gstgl.glcontext.GLContext context, int dmabuf, gstvideo.video_info.VideoInfo inInfo, int plane, size_t offset)Creates an EGL image that imports the dmabuf FD. The dmabuf data is passed as RGBA data. Shaders later take this "RGBA" data and convert it from its true format (described by in_info) to actual RGB...
Constructors
this()Create a `eglimage.EGLImage` boxed type.
this(void * ptr, Flag!"Take" take)