Package org.lwjgl.bgfx
Class BGFXCacheReadCallback
- java.lang.Object
-
- org.lwjgl.system.Callback
-
- org.lwjgl.bgfx.BGFXCacheReadCallback
-
- All Implemented Interfaces:
java.lang.AutoCloseable,BGFXCacheReadCallbackI,org.lwjgl.system.CallbackI,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public abstract class BGFXCacheReadCallback extends org.lwjgl.system.Callback implements BGFXCacheReadCallbackI
Reads cached item.Type
bool (*BGFXCacheReadCallbackI.invoke(long, long, long, int)) ( bgfx_callback_interface_t *_this, uint64_t _id, void *_data, uint32_t _size )
-
-
Field Summary
-
Fields inherited from interface org.lwjgl.bgfx.BGFXCacheReadCallbackI
CIF
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BGFXCacheReadCallbackcreate(long functionPointer)Creates aBGFXCacheReadCallbackinstance from the specified function pointer.static BGFXCacheReadCallbackcreate(BGFXCacheReadCallbackI instance)Creates aBGFXCacheReadCallbackinstance that delegates to the specifiedBGFXCacheReadCallbackIinstance.static BGFXCacheReadCallbackcreateSafe(long functionPointer)-
Methods inherited from interface org.lwjgl.bgfx.BGFXCacheReadCallbackI
callback, getCallInterface, invoke
-
-
-
-
Method Detail
-
create
public static BGFXCacheReadCallback create(long functionPointer)
Creates aBGFXCacheReadCallbackinstance from the specified function pointer.- Returns:
- the new
BGFXCacheReadCallback
-
createSafe
@Nullable public static BGFXCacheReadCallback createSafe(long functionPointer)
-
create
public static BGFXCacheReadCallback create(BGFXCacheReadCallbackI instance)
Creates aBGFXCacheReadCallbackinstance that delegates to the specifiedBGFXCacheReadCallbackIinstance.
-
-