Divide Framework 0.1
A free and open-source 3D Framework under heavy development
Loading...
Searching...
No Matches
Divide::ImGuiCustom Namespace Reference

Classes

struct  ImGuiAllocatorUserData
 

Functions

FORCE_INLINE void * MallocWrapper (const size_t size, void *user_data) noexcept
 
FORCE_INLINE void FreeWrapper (void *ptr, void *user_data) noexcept
 

Variables

static ImGuiMemAllocFunc g_ImAllocatorAllocFunc = MallocWrapper
 
static ImGuiMemFreeFunc g_ImAllocatorFreeFunc = FreeWrapper
 
static ImGuiAllocatorUserData g_ImAllocatorUserData {}
 

Function Documentation

◆ FreeWrapper()

FORCE_INLINE void Divide::ImGuiCustom::FreeWrapper ( void *  ptr,
void *  user_data 
)
noexcept

Definition at line 105 of file Editor.cpp.

◆ MallocWrapper()

FORCE_INLINE void * Divide::ImGuiCustom::MallocWrapper ( const size_t  size,
void *  user_data 
)
noexcept

Definition at line 99 of file Editor.cpp.

Variable Documentation

◆ g_ImAllocatorAllocFunc

ImGuiMemAllocFunc Divide::ImGuiCustom::g_ImAllocatorAllocFunc = MallocWrapper
static

Definition at line 111 of file Editor.cpp.

◆ g_ImAllocatorFreeFunc

ImGuiMemFreeFunc Divide::ImGuiCustom::g_ImAllocatorFreeFunc = FreeWrapper
static

Definition at line 112 of file Editor.cpp.

◆ g_ImAllocatorUserData

ImGuiAllocatorUserData Divide::ImGuiCustom::g_ImAllocatorUserData {}
static

Definition at line 113 of file Editor.cpp.