egl :: EGLConformant
egl :: EGLConformant :: defaultinit
egl :: EGLConformant :: from_i
egl :: EGLConformant :: new
egl :: EGLConformant :: opengl
egl :: EGLConformant :: opengl_es
egl :: EGLConformant :: opengl_es2
egl :: EGLConformant :: openvg
egl :: EGLConformant :: to_i
egl :: EGLConformant :: with_opengl
egl :: EGLConformant :: with_opengl_es
egl :: EGLConformant :: with_opengl_es2
egl :: EGLConformant :: with_openvg
egl $ EGLConformant :: SELF
Type of this instance, automatically specialized in every classcore :: Pointer :: address_is_null
Is the address behind this Object at NULL?core :: Object :: class_factory
Implementation used byget_class
to create the specific class.
core :: Pointer :: defaultinit
core :: Object :: defaultinit
egl :: EGLConformant :: defaultinit
egl :: EGLConformant :: from_i
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 :: EGLConformant :: new
egl :: EGLConformant :: opengl
egl :: EGLConformant :: opengl_es
egl :: EGLConformant :: opengl_es2
egl :: EGLConformant :: openvg
core :: Object :: output_class_name
Display class name on stdout (debug only).egl :: EGLConformant :: to_i
egl :: EGLConformant :: with_opengl
egl :: EGLConformant :: with_opengl_es
egl :: EGLConformant :: with_opengl_es2
egl :: EGLConformant :: with_openvg
extern class EGLConformant `{ EGLint `}
new `{ return (EGLint)0; `}
new from_i(val: Int) `{ return (EGLint)val; `}
fun to_i: Int `{ return self; `}
fun opengl: Bool `{ return self & EGL_OPENGL_BIT; `}
fun with_opengl: EGLConformant `{ return self | EGL_OPENGL_BIT; `}
fun opengl_es: Bool `{ return self & EGL_OPENGL_ES_BIT; `}
fun with_opengl_es: EGLConformant `{ return self | EGL_OPENGL_ES_BIT; `}
fun opengl_es2: Bool `{ return self & EGL_OPENGL_ES2_BIT; `}
fun with_opengl_es2: EGLConformant `{ return self | EGL_OPENGL_ES2_BIT; `}
fun openvg: Bool `{ return self & EGL_OPENVG_BIT; `}
fun with_openvg: EGLConformant `{ return self | EGL_OPENVG_BIT; `}
fun to_a: Array[String]
do
var features = new Array[String]
if opengl then features.add("OpenGL")
if opengl_es then features.add("OpenGL ES")
if opengl_es2 then features.add("OpenGL ES2")
if openvg then features.add("OpenVG")
return features
end
redef fun to_s do return to_a.join(", ")
end
lib/egl/egl.nit:261,1--289,3