23242526272829
* * @param initialcapacity * Initial capacity (number of indices) */ public static IndicesBuffer getInstance(int initialcapacity) { return ( GLContext.getCapabilities().GL_ARB_vertex_buffer_object ) ? new VBOIndicesBuffer(initialcapacity) : new VARIndicesBuffer(initialcapacity); }