Floatglesv2 :: GLfloatArray :: add_index
glesv2 :: GLfloatArray :: add_index=
glesv2 :: GLfloatArray :: defaultinit
glesv2 :: GLfloatArray :: from
Create with the content ofarray
			glesv2 :: GLfloatArray :: length
glesv2 :: GLfloatArray :: length=
glesv2 :: GLfloatArray :: native_array
glesv2 :: GLfloatArray :: native_array=
glesv2 :: GLfloatArray :: reset_add
glesv2 $ GLfloatArray :: SELF
Type of this instance, automatically specialized in every classglesv2 $ GLfloatArray :: finalize_once
Real finalization method ofFinalizableOnce, will be called only once
			glesv2 :: GLfloatArray :: add_index
glesv2 :: GLfloatArray :: add_index=
core :: Object :: class_factory
Implementation used byget_class to create the specific class.
			core :: FinalizableOnce :: defaultinit
glesv2 :: GLfloatArray :: defaultinit
core :: Object :: defaultinit
core :: Finalizable :: defaultinit
core :: Finalizable :: finalize
Liberate any resources held byself before the memory holding self is freed
			core :: FinalizableOnce :: finalize_once
Real finalization method ofFinalizableOnce, will be called only once
			core :: FinalizableOnce :: finalized
Hasself been finalized? (either by the GC or an explicit call to finalize)
			core :: FinalizableOnce :: finalized=
Hasself been finalized? (either by the GC or an explicit call to finalize)
			glesv2 :: GLfloatArray :: from
Create with the content ofarray
			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.
			glesv2 :: GLfloatArray :: length
glesv2 :: GLfloatArray :: length=
glesv2 :: GLfloatArray :: native_array
glesv2 :: GLfloatArray :: native_array=
core :: Object :: output_class_name
Display class name on stdout (debug only).glesv2 :: GLfloatArray :: reset_add
# Low level array of `Float`
class GLfloatArray
	super FinalizableOnce
	var length: Int
	var native_array = new NativeGLfloatArray(length) is lateinit
	fun [](index: Int): Float do return native_array[index]
	fun []=(index: Int, val: Float) do native_array[index] = val
	var add_index = 0
	fun reset_add do add_index = 0
	# Require: `add_index < length`
	fun add(value: Float)
	do
		var index = add_index
		assert index < length
		native_array[index] = value
		self.add_index = index + 1
	end
	# Create with the content of `array`
	new from(array: Array[Float])
	do
		var arr = new GLfloatArray(array.length)
		arr.fill_from array
		return arr
	end
	# Fill with the content of `array`
	#
	# If `dst_offset` is set, the data is copied to the index `dst_offset`,
	# otherwise, it is copied the beginning of `self`.
	#
	# Require: `length >= array.length + dst_offset or else 0`
	fun fill_from(array: Array[Float], dst_offset: nullable Int)
	do
		dst_offset = dst_offset or else add_index
		assert length >= array.length + dst_offset
		for k in [0..array.length[ do
			self[dst_offset+k] = array[k]
		end
	end
	redef fun finalize_once do native_array.free
end
					lib/glesv2/glesv2.nit:439,1--489,3
				
redef class GLfloatArray
	private fun fill_from_matrix(matrix: Matrix, dst_offset: nullable Int)
	do
		dst_offset = dst_offset or else add_index
		var mat_len = matrix.width*matrix.height
		assert length >= mat_len + dst_offset
		native_array.fill_from_matrix_native(matrix.items, dst_offset, mat_len)
		add_index += mat_len
	end
end
					lib/gamnit/flat/flat_core.nit:1732,1--1741,3