| Summary: | glMultiDrawElementsBaseVertex is missing | ||
|---|---|---|---|
| Product: | [JogAmp] Jogl | Reporter: | Julien <julien.carlos> |
| Component: | opengl | Assignee: | Sven Gothel <sgothel> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | --- | ||
| Version: | 2 | ||
| Hardware: | All | ||
| OS: | all | ||
| Type: | --- | SCM Refs: |
b9a24308f3ebc6fae9ca79f6020970945936feab
|
| Workaround: | --- | ||
| Bug Depends on: | |||
| Bug Blocks: | 852 | ||
|
Description
Julien
2013-06-24 15:37:14 CEST
Code snippet .. how to use PointerBuffer in this case: IntBuffer indices = Buffers.newDirectIntBuffer(count); indices.put(...); ... indices.rewind(); final PointerBuffer indicesP = PointerBuffer.allocateDirect(1); indicesP.referenceBuffer(indices); -> glMultiDrawElementsBaseVertex(int mode, IntBuffer count, int type, PointerBuffer indices, int primcount, IntBuffer basevertex) |