Package org.lwjgl.bgfx
Class BGFXCacheReadSizeCallback
- java.lang.Object
-
- org.lwjgl.system.Callback
-
- org.lwjgl.bgfx.BGFXCacheReadSizeCallback
-
- All Implemented Interfaces:
java.lang.AutoCloseable,BGFXCacheReadSizeCallbackI,org.lwjgl.system.CallbackI,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public abstract class BGFXCacheReadSizeCallback extends org.lwjgl.system.Callback implements BGFXCacheReadSizeCallbackI
Returns the size of a cached item. Returns 0 if no cached item was found.Type
uint32_t (*BGFXCacheReadSizeCallbackI.invoke(long, long)) ( bgfx_callback_interface_t *_this, uint64_t _id )
-
-
Field Summary
-
Fields inherited from interface org.lwjgl.bgfx.BGFXCacheReadSizeCallbackI
CIF
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BGFXCacheReadSizeCallbackcreate(long functionPointer)Creates aBGFXCacheReadSizeCallbackinstance from the specified function pointer.static BGFXCacheReadSizeCallbackcreate(BGFXCacheReadSizeCallbackI instance)Creates aBGFXCacheReadSizeCallbackinstance that delegates to the specifiedBGFXCacheReadSizeCallbackIinstance.static BGFXCacheReadSizeCallbackcreateSafe(long functionPointer)-
Methods inherited from interface org.lwjgl.bgfx.BGFXCacheReadSizeCallbackI
callback, getCallInterface, invoke
-
-
-
-
Method Detail
-
create
public static BGFXCacheReadSizeCallback create(long functionPointer)
Creates aBGFXCacheReadSizeCallbackinstance from the specified function pointer.- Returns:
- the new
BGFXCacheReadSizeCallback
-
createSafe
@Nullable public static BGFXCacheReadSizeCallback createSafe(long functionPointer)
-
create
public static BGFXCacheReadSizeCallback create(BGFXCacheReadSizeCallbackI instance)
Creates aBGFXCacheReadSizeCallbackinstance that delegates to the specifiedBGFXCacheReadSizeCallbackIinstance.
-
-