VertexBufferWebGL

class VertexBufferWebGL(val context: WebGLRenderingContext, val buffer: WebGLBuffer, val vertexFormat: VertexFormat, val vertexCount: Int, val session: Session?) : VertexBuffer(source)

Constructors

Link copied to clipboard
constructor(context: WebGLRenderingContext, buffer: WebGLBuffer, vertexFormat: VertexFormat, vertexCount: Int, session: Session?)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val session: Session?
Link copied to clipboard
open override val shadow: VertexBufferShadow
Link copied to clipboard
open override val vertexCount: Int
Link copied to clipboard
open override val vertexFormat: VertexFormat

Functions

Link copied to clipboard
fun bind()
Link copied to clipboard
open override fun close()
Link copied to clipboard
open override fun destroy()
Link copied to clipboard
fun put(elementOffset: Int, putter: BufferWriter.() -> Unit): Int
Link copied to clipboard
fun unbind()
Link copied to clipboard
open override fun write(data: FloatArray, offsetBytes: Int, floatCount: Int)
open override fun write(data: Float32Array, offsetBytes: Int, floatCount: Int)
open override fun write(source: MPPBuffer, targetByteOffset: Int, sourceByteOffset: Int, byteLength: Int)