ディフォルトアロケータクラス
More...
Go to the source code of this file.
|
GX_FORCE_INLINE GxAllocatorDefault & | GxAllocatorDefault (void) |
|
ディフォルトアロケータクラス
- Author
- Copyright (C)2009 SiliconStudio Inc. All rights reserved.
-
Takashi Taketa
-
Tahir Arai
◆ GX_ALLOCATOR_DEFAULT_SIZE
#define GX_ALLOCATOR_DEFAULT_SIZE |
( |
| __size | ) |
|
Value: void GxAllocatorDefault::initialize(void** ppBuffer, u32& size) \
{ \
const u32 bufferSize = __size; \
static u8 buffer[bufferSize]; \
size = bufferSize; \
*ppBuffer = static_cast<void*>(buffer); \
}