Class: VertexBuffer

gEngine.VertexBuffer

new VertexBuffer()

Default Constructor

defines the object that supports the loading and using of the buffer that

contains vertex positions of a square onto the gGL context

Notice, this is a singleton object.

Source:

Methods

(static) cleanUp() → {void}

Detaches and removes the resources from the DefaultResources Program.
Source:
Returns:
Type
void

(static) getGLLineVertexRef() → {VertexBuffer}

Return reference to the texture positions for the square vertices in the gl context
Source:
Returns:
Type
VertexBuffer

(static) getGLTexCoordRef() → {CoordinateBuffer}

Return reference to the texture positions for the square vertices in the gl context
Source:
Returns:
Type
CoordinateBuffer

(static) getGLVertexRef() → {VertexBuffer}

Return reference to the vertex positions for the square in the gl context
Source:
Returns:
Type
VertexBuffer

(static) initialize() → {undefined}

Initilize the Vertex Buffer
Source:
Returns:
Type
undefined