Re: glMultiDraw*Indirect
Posted by
Sven Gothel on
Aug 06, 2023; 12:44am
URL: https://forum.jogamp.org/glMultiDraw-Indirect-tp4042510p4042814.html
Correction:
- 'glMultiDrawElementsIndirect()'
- should take a 'long' only for the indirect VBO bound buffer offset
- Is GL4.3 but may exist in GL4.1 via ARB_multi_draw_indirect extension
- TODO: Have it in GL4 with 'indirect' arg type as long only!
- TODO: Needs 'indirect' arg type changed from NIO Buffer -> long for VBO offset only!
https://www.khronos.org/opengl/wiki/GLAPI/glMultiDrawElementsIndirect- 'glMultiDrawArraysIndirect'
- should tale a NIO Buffer only for the indirect buffer address of values
- Is GL4.3 but may exist in GL4.1 via ARB_multi_draw_indirect extension
- TODO: Have it in GL4 with 'indirect' arg type as Buffer only!
- TODO: Remove 'long' indirect variant
https://www.khronos.org/opengl/wiki/GLAPI/glMultiDrawArraysIndirectEdit: Both belonging to ARB_multi_draw_indirect extension,
which is written against OpenGL 4.1. Hence should only be in GL4 (IMHO).
-
https://registry.khronos.org/OpenGL/extensions/ARB/ARB_multi_draw_indirect.txt...