()
| 63 | } |
| 64 | |
| 65 | protected void init() { |
| 66 | int size = index ? ncoords * INIT_INDEX_BUFFER_SIZE * elementSize : |
| 67 | ncoords * INIT_VERTEX_BUFFER_SIZE * elementSize; |
| 68 | pgl.bindBuffer(target, glId); |
| 69 | pgl.bufferData(target, size, null, PGL.STATIC_DRAW); |
| 70 | } |
| 71 | |
| 72 | protected void dispose() { |
| 73 | if (glres != null) { |
no test coverage detected