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
cleanUp() → {void}
Detaches and removes the resources from the DefaultResources Program.
- Source:
Returns:
- Type
- void
getGLLineVertexRef() → {VertexBuffer}
Return reference to the texture positions for the square vertices in the gl context
- Source:
Returns:
- Type
- VertexBuffer
getGLTexCoordRef() → {CoordinateBuffer}
Return reference to the texture positions for the square vertices in the gl context
- Source:
Returns:
- Type
- CoordinateBuffer
getGLVertexRef() → {VertexBuffer}
Return reference to the vertex positions for the square in the gl context
- Source:
Returns:
- Type
- VertexBuffer
initialize() → {undefined}
Initilize the Vertex Buffer
- Source:
Returns:
- Type
- undefined