Package org.lwjgl.bgfx
Class BGFXReallocCallback
java.lang.Object
org.lwjgl.system.Callback
org.lwjgl.bgfx.BGFXReallocCallback
- All Implemented Interfaces:
AutoCloseable
,BGFXReallocCallbackI
,CallbackI
,NativeResource
,Pointer
Allocates memory.
Type
void * (*BGFXReallocCallbackI.invoke(long, long, long, long, long, int)
) (
bgfx_allocator_interface_t *_this,
void *_ptr,
size_t _size,
size_t _align,
char *_file,
uint32_t _line
)
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
Fields inherited from interface org.lwjgl.bgfx.BGFXReallocCallbackI
CIF
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Method Summary
Modifier and TypeMethodDescriptionstatic BGFXReallocCallback
create
(long functionPointer) Creates aBGFXReallocCallback
instance from the specified function pointer.static BGFXReallocCallback
create
(BGFXReallocCallbackI instance) Creates aBGFXReallocCallback
instance that delegates to the specifiedBGFXReallocCallbackI
instance.static BGFXReallocCallback
createSafe
(long functionPointer) Methods inherited from class org.lwjgl.system.Callback
address, equals, free, free, get, getSafe, hashCode, toString
Methods inherited from interface org.lwjgl.bgfx.BGFXReallocCallbackI
callback, getCallInterface, invoke
Methods inherited from interface org.lwjgl.system.NativeResource
close
-
Method Details
-
create
Creates aBGFXReallocCallback
instance from the specified function pointer.- Returns:
- the new
BGFXReallocCallback
-
createSafe
-
create
Creates aBGFXReallocCallback
instance that delegates to the specifiedBGFXReallocCallbackI
instance.
-