Package graphics.glimpse.buffers

Types

Buffer
Link copied to clipboard
common
interface Buffer
A wrapper for a vertex data buffer.
BufferType
Link copied to clipboard
common
enum BufferType : Enum<BufferType>
Buffer type.
BufferUsage
Link copied to clipboard
common
enum BufferUsage : Enum<BufferUsage>
Buffer usage strategy.
FloatBufferData
Link copied to clipboard
common
class FloatBufferData
Data to be stored in a buffer of floating point numbers.
class FloatBufferData
Data to be stored in a buffer of floating point numbers.
class FloatBufferData
Data to be stored in a buffer of floating point numbers.
IntBufferData
Link copied to clipboard
common
class IntBufferData
Data to be stored in a buffer of integer numbers.
class IntBufferData
Data to be stored in a buffer of integer numbers.
class IntBufferData
Data to be stored in a buffer of integer numbers.

Functions

floatBufferDataOf
Link copied to clipboard
common
fun floatBufferDataOf(vararg elements: Float): FloatBufferData
Returns floating point buffer data containing the the specified elements.
intBufferDataOf
Link copied to clipboard
common
fun intBufferDataOf(vararg elements: Int): IntBufferData
Returns integer buffer data containing the the specified elements.
toFloatBufferData
Link copied to clipboard
common
fun FloatArray.toFloatBufferData(): FloatBufferData
Returns floating point buffer data containing all of the elements of this array.
fun Collection<Float>.toFloatBufferData(): FloatBufferData
Returns floating point buffer data containing all of the elements of this collection.
toIntBufferData
Link copied to clipboard
common
fun IntArray.toIntBufferData(): IntBufferData
Returns integer buffer data containing all of the elements of this array.
fun Collection<Int>.toIntBufferData(): IntBufferData
Returns integer buffer data containing all of the elements of this collection.