void * (*invoke) (
bgfx_allocator_interface_t *_this,
void *_ptr,
size_t _size,
size_t _align,
char *_file,
uint32_t _line
)
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Access | Constructor and Description |
|---|---|
| protected | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public static BGFXReallocCallback | Returns: the newBGFXReallocCallbackCreates a |
| public static BGFXReallocCallback | create(BGFXReallocCallbackI instance)
Creates a |
| public static BGFXReallocCallback |
| BGFXReallocCallback | back to summary |
|---|---|
| protected BGFXReallocCallback() | |
| BGFXReallocCallback | back to summary |
|---|---|
| pack-priv BGFXReallocCallback(long functionPointer) | |
| create | back to summary |
|---|---|
| public static BGFXReallocCallback create(long functionPointer) Creates a
| |
| create | back to summary |
|---|---|
| public static BGFXReallocCallback create(BGFXReallocCallbackI instance) Creates a | |
| createSafe | back to summary |
|---|---|
| public static BGFXReallocCallback createSafe(long functionPointer) Like
| |
| Modifier and Type | Field and Description |
|---|---|
| private final BGFXReallocCallbackI |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public long | invoke(long
the allocator interface _this, long the previously allocated memory or _ptr, long NULLthe number of bytes to allocate _size, long the allocation alignment, in bytes _align, long file path where allocation was generated _file, int line where allocation was generated _line)Implements org. |
| delegate | back to summary |
|---|---|
| private final BGFXReallocCallbackI delegate | |
| Container | back to summary |
|---|---|
| pack-priv Container(long functionPointer, BGFXReallocCallbackI delegate) | |
| invoke | back to summary |
|---|---|
| public long invoke(long _this, long _ptr, long _size, long _align, long _file, int _line) Implements org. Doc from org. Will be called when an allocation is requested.
| |