super.updateIndexBuffer();
if (indices == null) { return; } IntBuffer indexBuffer = getIndexAsBuffer(); if (indexBuffer == null || indexBuffer.capacity() < indices.length) { indexBuffer = ByteBuffer.allocateDirect(indices.length * 4).order( ByteOrder.nativeOrder()).asIntBuffer(); }
    public void updateIndexBuffer() {        super.updateIndexBuffer();    }