Package imgui.binding
Class ImGuiStructDestroyable
java.lang.Object
imgui.binding.ImGuiStruct
imgui.binding.ImGuiStructDestroyable
- Direct Known Subclasses:
ImFont,ImFontAtlas,ImFontConfig,ImFontGlyph,ImGuiKeyData,ImGuiListClipper,ImGuiStorage,ImGuiStyle,ImGuiTextFilter,ImGuiWindowClass,ImPlotInputMap,ImPlotSpec,ImPlotStyle,MemoryEditor,MemoryEditorSizes,NodeEditorConfig,TextEditor
Class extends
ImGuiStruct and provides additional API to allocated and de-allocate native objects.-
Field Summary
Fields inherited from class imgui.binding.ImGuiStruct
ptr -
Constructor Summary
ConstructorsConstructorDescriptionConstructor, which creates natively allocated struct.ImGuiStructDestroyable(long ptr) -
Method Summary
Methods inherited from class imgui.binding.ImGuiStruct
isNotValidPtr, isValidPtr
-
Constructor Details
-
ImGuiStructDestroyable
public ImGuiStructDestroyable()Constructor, which creates natively allocated struct. Those structs should be manually disposed withdestroy()method. -
ImGuiStructDestroyable
public ImGuiStructDestroyable(long ptr)
-
-
Method Details
-
create
protected abstract long create() -
destroy
public void destroy()Method to free natively allocated memory for the struct mapped with pointer.
-