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) nothrow
GType _getGType() static nothrow
GType _gType() @property nothrow
EGLImage self() nothrowReturns `this`, for use in `with` statements.
void * getImage() nothrow
gstglegl.eglimage.EGLImage fromDmabuf(gstgl.glcontext.GLContext context, int dmabuf, gstvideo.video_info.VideoInfo inInfo, int plane, size_t offset) static nothrowCreates 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)