Windows libraries and README
This commit is contained in:
1 parent
b813d49042
commit
4197ef7f9e
4 files changed
+10
-1
No files matched your search
@@ -0,0 +1,9 @@
|
|||||||
|
Folder contains libraries used by the binding.
|
||||||
|
Provide 'java.library.path' VM option to a folder with one of those file (ex: -Djava.library.path=./some/folder).
|
||||||
|
By default binding expects 'imgui-java' ('imgui-java64' for x64 arch) file name.
|
||||||
|
You can change that by using 'imgui.library.name' VM option (ex: -Dimgui.library.name=custom-lib-name).
|
||||||
|
|
||||||
|
- imgui-java.dll << win32
|
||||||
|
- imgui-java64.dll << win64
|
||||||
|
- libimgui-java.so << linux32
|
||||||
|
- libimgui-java.so << linux64
|
||||||
Binary file not shown.
Binary file not shown.
@@ -6,7 +6,7 @@ import java.nio.ByteBuffer;
|
|||||||
|
|
||||||
public final class ImGui {
|
public final class ImGui {
|
||||||
private static final String LIB_NAME_PROP = "imgui.library.name";
|
private static final String LIB_NAME_PROP = "imgui.library.name";
|
||||||
private static final String LIB_NAME_DEFAULT = "imgui-java";
|
private static final String LIB_NAME_DEFAULT = System.getProperty("os.arch").contains("64") ? "imgui-java64" : "imgui-java";
|
||||||
|
|
||||||
private static final ImDrawData DRAW_DATA = new ImDrawData(100_000, 100_000, 1000);
|
private static final ImDrawData DRAW_DATA = new ImDrawData(100_000, 100_000, 1000);
|
||||||
private static final ImGuiIO IMGUI_IO = new ImGuiIO();
|
private static final ImGuiIO IMGUI_IO = new ImGuiIO();
|
||||||
|
|||||||
Reference in new issue
Block a user