Fix getBackgroundDrawList() and getForegroundDrawList(). Add methods to create draw list objects with constant pointer

This commit is contained in:
SpaiR committed 2020-06-06 16:01:02 +03:00
1 parent 7a0e9ec942
commit fbe0ed5a08
11 files changed
+69 -42

No files matched your search

@@ -11,7 +11,7 @@ import java.nio.ByteOrder;
* BINDING NOTICE: Since it's impossible to do a 1:1 mapping with JNI, current class provides "getCmdList*()" methods.
* Those are used to get the data needed to do a rendering.
*/
public final class ImDrawData implements ImDestroyable {
public final class ImDrawData implements ImGuiDestroyableStruct {
public static final int SIZEOF_IM_DRAW_IDX = 2;
public static final int SIZEOF_IM_DRAW_VERT = (4 + 1) * 4;