23242526272829
* * @param initialcapacity * Initial capacity (number of vertices) */ public static ColoursBuffer getInstance(int initialcapacity) { return ( GLContext.getCapabilities().GL_ARB_vertex_buffer_object ) ? new VBOColoursBuffer(initialcapacity) : new VARColoursBuffer(initialcapacity); }