IntsFromList

class IntsFromList(val list: IntList) : NumericArray

Zero-copy upload from an IntList: the backing array may be larger than list.size, so byteCount (and the GL backend, given a correct size argument) bounds the upload. Avoids the IntList.toIntArray copy the eager Ints variant would force.

Constructors

Link copied to clipboard
constructor(list: IntList)

Properties

Link copied to clipboard
open override val byteCount: Int
Link copied to clipboard