Code example for ShortBuffer

Methods: limit

0
		if (hasNormals)
			gl.glDisableClientState(GL10.GL_NORMAL_ARRAY);
	} 
	 
	public int getNumIndices() { 
		return indices.limit();
	} 
	 
	public int getNumVertices() { 
		return vertices.limit() / (vertexSize / 4);
	} 
}