Entry point to OpenGL server-side capabilities

Introduced properties

fun blend: GLCap

glesv2 :: GLCapabilities :: blend

GL capability: blend the computed fragment color values
protected fun blend=(blend: GLCap)

glesv2 :: GLCapabilities :: blend=

GL capability: blend the computed fragment color values
fun cull_face: GLCap

glesv2 :: GLCapabilities :: cull_face

GL capability: cull polygons based of their winding in window coordinates
protected fun cull_face=(cull_face: GLCap)

glesv2 :: GLCapabilities :: cull_face=

GL capability: cull polygons based of their winding in window coordinates
fun depth_test: GLCap

glesv2 :: GLCapabilities :: depth_test

GL capability: do depth comparisons and update the depth buffer
protected fun depth_test=(depth_test: GLCap)

glesv2 :: GLCapabilities :: depth_test=

GL capability: do depth comparisons and update the depth buffer
fun dither: GLCap

glesv2 :: GLCapabilities :: dither

GL capability: dither color components or indices before they are written to the color buffer
protected fun dither=(dither: GLCap)

glesv2 :: GLCapabilities :: dither=

GL capability: dither color components or indices before they are written to the color buffer
fun polygon_offset_fill: GLCap

glesv2 :: GLCapabilities :: polygon_offset_fill

GL capability: add an offset to depth values of a polygon fragment before depth test
protected fun polygon_offset_fill=(polygon_offset_fill: GLCap)

glesv2 :: GLCapabilities :: polygon_offset_fill=

GL capability: add an offset to depth values of a polygon fragment before depth test
fun sample_alpha_to_coverage: GLCap

glesv2 :: GLCapabilities :: sample_alpha_to_coverage

GL capability: compute a temporary coverage value where each bit is determined by the alpha value at the corresponding location
protected fun sample_alpha_to_coverage=(sample_alpha_to_coverage: GLCap)

glesv2 :: GLCapabilities :: sample_alpha_to_coverage=

GL capability: compute a temporary coverage value where each bit is determined by the alpha value at the corresponding location
fun sample_coverage: GLCap

glesv2 :: GLCapabilities :: sample_coverage

GL capability: AND the fragment coverage with the temporary coverage value
protected fun sample_coverage=(sample_coverage: GLCap)

glesv2 :: GLCapabilities :: sample_coverage=

GL capability: AND the fragment coverage with the temporary coverage value
fun scissor_test: GLCap

glesv2 :: GLCapabilities :: scissor_test

GL capability: discard fragments that are outside the scissor rectangle
protected fun scissor_test=(scissor_test: GLCap)

glesv2 :: GLCapabilities :: scissor_test=

GL capability: discard fragments that are outside the scissor rectangle
fun stencil_test: GLCap

glesv2 :: GLCapabilities :: stencil_test

GL capability: do stencil testing and update the stencil buffer
protected fun stencil_test=(stencil_test: GLCap)

glesv2 :: GLCapabilities :: stencil_test=

GL capability: do stencil testing and update the stencil buffer

Redefined properties

redef type SELF: GLCapabilities

glesv2 $ GLCapabilities :: SELF

Type of this instance, automatically specialized in every class

All properties

fun !=(other: nullable Object): Bool

core :: Object :: !=

Have self and other different values?
fun ==(other: nullable Object): Bool

core :: Object :: ==

Have self and other the same value?
type CLASS: Class[SELF]

core :: Object :: CLASS

The type of the class of self.
type SELF: Object

core :: Object :: SELF

Type of this instance, automatically specialized in every class
fun blend: GLCap

glesv2 :: GLCapabilities :: blend

GL capability: blend the computed fragment color values
protected fun blend=(blend: GLCap)

glesv2 :: GLCapabilities :: blend=

GL capability: blend the computed fragment color values
protected fun class_factory(name: String): CLASS

core :: Object :: class_factory

Implementation used by get_class to create the specific class.
fun class_name: String

core :: Object :: class_name

The class name of the object.
fun cull_face: GLCap

glesv2 :: GLCapabilities :: cull_face

GL capability: cull polygons based of their winding in window coordinates
protected fun cull_face=(cull_face: GLCap)

glesv2 :: GLCapabilities :: cull_face=

GL capability: cull polygons based of their winding in window coordinates
fun depth_test: GLCap

glesv2 :: GLCapabilities :: depth_test

GL capability: do depth comparisons and update the depth buffer
protected fun depth_test=(depth_test: GLCap)

glesv2 :: GLCapabilities :: depth_test=

GL capability: do depth comparisons and update the depth buffer
fun dither: GLCap

glesv2 :: GLCapabilities :: dither

GL capability: dither color components or indices before they are written to the color buffer
protected fun dither=(dither: GLCap)

glesv2 :: GLCapabilities :: dither=

GL capability: dither color components or indices before they are written to the color buffer
fun get_class: CLASS

core :: Object :: get_class

The meta-object representing the dynamic type of self.
fun hash: Int

core :: Object :: hash

The hash code of the object.
init init

core :: Object :: init

fun inspect: String

core :: Object :: inspect

Developer readable representation of self.
protected fun inspect_head: String

core :: Object :: inspect_head

Return "CLASSNAME:#OBJECTID".
intern fun is_same_instance(other: nullable Object): Bool

core :: Object :: is_same_instance

Return true if self and other are the same instance (i.e. same identity).
fun is_same_serialized(other: nullable Object): Bool

core :: Object :: is_same_serialized

Is self the same as other in a serialization context?
intern fun is_same_type(other: Object): Bool

core :: Object :: is_same_type

Return true if self and other have the same dynamic type.
intern fun object_id: Int

core :: Object :: object_id

An internal hash code for the object based on its identity.
fun output

core :: Object :: output

Display self on stdout (debug only).
intern fun output_class_name

core :: Object :: output_class_name

Display class name on stdout (debug only).
fun polygon_offset_fill: GLCap

glesv2 :: GLCapabilities :: polygon_offset_fill

GL capability: add an offset to depth values of a polygon fragment before depth test
protected fun polygon_offset_fill=(polygon_offset_fill: GLCap)

glesv2 :: GLCapabilities :: polygon_offset_fill=

GL capability: add an offset to depth values of a polygon fragment before depth test
fun sample_alpha_to_coverage: GLCap

glesv2 :: GLCapabilities :: sample_alpha_to_coverage

GL capability: compute a temporary coverage value where each bit is determined by the alpha value at the corresponding location
protected fun sample_alpha_to_coverage=(sample_alpha_to_coverage: GLCap)

glesv2 :: GLCapabilities :: sample_alpha_to_coverage=

GL capability: compute a temporary coverage value where each bit is determined by the alpha value at the corresponding location
fun sample_coverage: GLCap

glesv2 :: GLCapabilities :: sample_coverage

GL capability: AND the fragment coverage with the temporary coverage value
protected fun sample_coverage=(sample_coverage: GLCap)

glesv2 :: GLCapabilities :: sample_coverage=

GL capability: AND the fragment coverage with the temporary coverage value
fun scissor_test: GLCap

glesv2 :: GLCapabilities :: scissor_test

GL capability: discard fragments that are outside the scissor rectangle
protected fun scissor_test=(scissor_test: GLCap)

glesv2 :: GLCapabilities :: scissor_test=

GL capability: discard fragments that are outside the scissor rectangle
fun serialization_hash: Int

core :: Object :: serialization_hash

Hash value use for serialization
fun stencil_test: GLCap

glesv2 :: GLCapabilities :: stencil_test

GL capability: do stencil testing and update the stencil buffer
protected fun stencil_test=(stencil_test: GLCap)

glesv2 :: GLCapabilities :: stencil_test=

GL capability: do stencil testing and update the stencil buffer
intern fun sys: Sys

core :: Object :: sys

Return the global sys object, the only instance of the Sys class.
abstract fun to_jvalue(env: JniEnv): JValue

core :: Object :: to_jvalue

fun to_s: String

core :: Object :: to_s

User readable representation of self.
package_diagram glesv2::GLCapabilities GLCapabilities core::Object Object glesv2::GLCapabilities->core::Object

Parents

interface Object

core :: Object

The root of the class hierarchy.

Class definitions

glesv2 $ GLCapabilities
# Entry point to OpenGL server-side capabilities
class GLCapabilities

	# GL capability: blend the computed fragment color values
	#
	# Foreign: GL_BLEND
	var blend: GLCap is lazy do return new GLCap(0x0BE2)

	# GL capability: cull polygons based of their winding in window coordinates
	#
	# Foreign: GL_CULL_FACE
	var cull_face: GLCap is lazy do return new GLCap(0x0B44)

	# GL capability: do depth comparisons and update the depth buffer
	#
	# Foreign: GL_DEPTH_TEST
	var depth_test: GLCap is lazy do return new GLCap(0x0B71)

	# GL capability: dither color components or indices before they are written to the color buffer
	#
	# Foreign: GL_DITHER
	var dither: GLCap is lazy do return new GLCap(0x0BE2)

	# GL capability: add an offset to depth values of a polygon fragment before depth test
	#
	# Foreign: GL_POLYGON_OFFSET_FILL
	var polygon_offset_fill: GLCap is lazy do return new GLCap(0x8037)

	# GL capability: compute a temporary coverage value where each bit is determined by the alpha value at the corresponding location
	#
	# Foreign: GL_SAMPLE_ALPHA_TO_COVERAGE
	var sample_alpha_to_coverage: GLCap is lazy do return new GLCap(0x809E)

	# GL capability: AND the fragment coverage with the temporary coverage value
	#
	# Foreign: GL_SAMPLE_COVERAGE
	var sample_coverage: GLCap is lazy do return new GLCap(0x80A0)

	# GL capability: discard fragments that are outside the scissor rectangle
	#
	# Foreign: GL_SCISSOR_TEST
	var scissor_test: GLCap is lazy do return new GLCap(0x0C11)

	# GL capability: do stencil testing and update the stencil buffer
	#
	# Foreign: GL_STENCIL_TEST
	var stencil_test: GLCap is lazy do return new GLCap(0x0B90)
end
lib/glesv2/glesv2.nit:1092,1--1139,3