egl :: EGLSurface
egl :: EGLSurface :: attribs
egl :: EGLSurface :: current_draw
egl :: EGLSurface :: current_read
egl :: EGLSurface :: defaultinit
egl :: EGLSurface :: is_ok
egl :: EGLSurface :: none
egl $ EGLSurface :: SELF
Type of this instance, automatically specialized in every classcore :: Pointer :: address_is_null
Is the address behind this Object at NULL?egl :: EGLSurface :: attribs
core :: Object :: class_factory
Implementation used byget_class
to create the specific class.
egl :: EGLSurface :: current_draw
egl :: EGLSurface :: current_read
core :: Pointer :: defaultinit
egl :: EGLSurface :: defaultinit
core :: Object :: defaultinit
egl :: EGLSurface :: is_ok
core :: Object :: is_same_instance
Return true ifself
and other
are the same instance (i.e. same identity).
core :: Object :: is_same_serialized
Isself
the same as other
in a serialization context?
core :: Object :: is_same_type
Return true ifself
and other
have the same dynamic type.
egl :: EGLSurface :: none
core :: Object :: output_class_name
Display class name on stdout (debug only).
extern class EGLSurface `{ EGLSurface `}
new current_draw `{ return eglGetCurrentSurface(EGL_DRAW); `}
new current_read `{ return eglGetCurrentSurface(EGL_READ); `}
new none `{ return EGL_NO_SURFACE; `}
fun is_ok: Bool `{ return self != EGL_NO_SURFACE; `}
fun attribs(display: EGLDisplay): EGLSurfaceAttribs do
return new EGLSurfaceAttribs(display, self)
end
end
lib/egl/egl.nit:188,1--198,3