Specifies the primitive type, using Stream usage.
typeSpecifies usage, using the Points primitive type.
usageSpecifies primitive type and usage.
typeusageCopies GPU vertex data, primitive type and usage.
sourceSynchronously copies source's data and settings into this object and returns this.
sourceAllocates the specified number of vertices on the GPU and returns success; submits previously queued draws.
vertexCountProtecteddrawSubclasses draw synchronously and may compose objects via target.draw(); states is a copy for this call.
targetstatesReturns the OpenGL buffer identifier, or 0 if not yet allocated.
Returns the allocated vertex count.
Sets the data update frequency hint for the graphics driver.
usageSwaps data and settings of two buffers, first submitting queued draws to preserve snapshot semantics.
otherUploads data for the current buffer's vertex count; the source must contain enough vertices. Returns whether it succeeded.
verticesUploads vertexCount vertices from the start of the source to offset (in vertices); returns whether it succeeded.
verticesvertexCountoffsetCopies source's GPU vertex data and returns whether it succeeded.
sourceStaticbindBinds a buffer for direct OpenGL operations; null unbinds it.
bufferStaticisReturns whether the current environment supports GPU vertex buffers.
GPU storage owned by Native; draw records a handle without uploading vertices.