GLFWallocator 構造体
独自ヒープメモリアロケーター。詳細…
データフィールド |
|
| GLFWallocatefun | allocate |
| GLFWreallocatefun | reallocate |
| GLFWdeallocatefun | deallocate |
| void * | user |
詳細説明
これは GLFW 用の独自ヒープメモリアロケーターを表します。アロケーターを設定するには、ライブラリを初期化する前に glfwInitAllocator へ渡します。
関連項目
独自ヒープメモリアロケーター
導入バージョン
バージョン 3.4 で追加されました。
フィールドの詳細
◆ allocate
| GLFWallocatefun GLFWallocator::allocate |
メモリ確保関数。確保関数の詳細については GLFWallocatefun を参照してください。
◆ reallocate
| GLFWreallocatefun GLFWallocator::reallocate |
メモリ再確保関数。再確保関数の詳細については GLFWreallocatefun を参照してください。
◆ deallocate
| GLFWdeallocatefun GLFWallocator::deallocate |
メモリ解放関数。解放関数の詳細については GLFWdeallocatefun を参照してください。
◆ user
| void* GLFWallocator::user |
この独自アロケーターのユーザーポインター。この値はアロケーター関数へ渡されます。
この構造体のドキュメントは、次のファイルから生成されました。