public abstract class ImGuiStructDestroyable extends ImGuiStruct
ImGuiStruct
and provides additional API to allocated and de-allocate native objects.ptr
Constructor and Description |
---|
ImGuiStructDestroyable()
Constructor, which creates natively allocated struct.
|
ImGuiStructDestroyable(long ptr) |
Modifier and Type | Method and Description |
---|---|
protected abstract long |
create() |
void |
destroy()
Method to free natively allocated memory for the struct mapped with pointer.
|
isNotValidPtr, isValidPtr
public ImGuiStructDestroyable()
destroy()
method.public ImGuiStructDestroyable(long ptr)