glCheckFramebufferStatus
glesv2 $ GLFramebufferStatus :: 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
glesv2 :: GLEnum :: defaultinit
core :: Object :: defaultinit
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.
core :: Object :: output_class_name
Display class name on stdout (debug only).
# Return value of `glCheckFramebufferStatus`
extern class GLFramebufferStatus
super GLEnum
redef fun to_s
do
if self == gl_FRAMEBUFFER_COMPLETE then return "complete"
if self == gl_FRAMEBUFFER_INCOMPLETE_ATTACHMENT then return "incomplete attachment"
if self == gl_FRAMEBUFFER_INCOMPLETE_DIMENSIONS then return "incomplete dimension"
if self == gl_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT then return "incomplete missing attachment"
if self == gl_FRAMEBUFFER_UNSUPPORTED then return "unsupported"
return "unknown"
end
end
lib/glesv2/glesv2.nit:992,1--1005,3