Top Description Inners Constructors Methods
org.lwjgl.bgfx

public abstract Class BGFXReleaseFunctionCallback

extends Callback
implements BGFXReleaseFunctionCallbackI
Class Inheritance
All Implemented Interfaces
org.lwjgl.bgfx.BGFXReleaseFunctionCallbackI, org.lwjgl.system.CallbackI, org.lwjgl.system.Pointer
Known Direct Subclasses
org.lwjgl.bgfx.BGFXReleaseFunctionCallback.Container
Imports
javax.annotation.*, org.lwjgl.system.*

Instances of this class may be passed to the make_ref_release method.

Type


void (*invoke) (
    void *_ptr,
    void *_userData
)

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Constructor Summary

AccessConstructor and Description
protected
pack-priv
BGFXReleaseFunctionCallback(long functionPointer)

Method Summary

Modifier and TypeMethod and Description
public static BGFXReleaseFunctionCallback

Returns:

the new BGFXReleaseFunctionCallback
create
(long functionPointer)

Creates a BGFXReleaseFunctionCallback instance from the specified function pointer.

public static BGFXReleaseFunctionCallback
create(BGFXReleaseFunctionCallbackI instance)

Creates a BGFXReleaseFunctionCallback instance that delegates to the specified BGFXReleaseFunctionCallbackI instance.

public static BGFXReleaseFunctionCallback
createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Inherited from org.lwjgl.system.Callback:
addressequalsfreefreegetgetSafehashCodetoString

Constructor Detail

BGFXReleaseFunctionCallbackback to summary
protected BGFXReleaseFunctionCallback()
BGFXReleaseFunctionCallbackback to summary
pack-priv BGFXReleaseFunctionCallback(long functionPointer)

Method Detail

createback to summary
public static BGFXReleaseFunctionCallback create(long functionPointer)

Creates a BGFXReleaseFunctionCallback instance from the specified function pointer.

Returns:BGFXReleaseFunctionCallback

the new BGFXReleaseFunctionCallback

createback to summary
public static BGFXReleaseFunctionCallback create(BGFXReleaseFunctionCallbackI instance)

Creates a BGFXReleaseFunctionCallback instance that delegates to the specified BGFXReleaseFunctionCallbackI instance.

createSafeback to summary
public static BGFXReleaseFunctionCallback createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Annotations
@Nullable
org.lwjgl.bgfx back to summary

private final Class BGFXReleaseFunctionCallback.Container

extends BGFXReleaseFunctionCallback
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final BGFXReleaseFunctionCallbackI

Constructor Summary

AccessConstructor and Description
pack-priv
Container(long functionPointer, BGFXReleaseFunctionCallbackI delegate)

Method Summary

Modifier and TypeMethod and Description
public void
invoke(long
pointer to allocated data
_ptr
,
long
user defined data if needed
_userData
)

Implements org.lwjgl.bgfx.BGFXReleaseFunctionCallbackI.invoke.

Memory release callback.
Inherited from org.lwjgl.bgfx.BGFXReleaseFunctionCallback:
createcreatecreateSafe

Field Detail

delegateback to summary
private final BGFXReleaseFunctionCallbackI delegate

Constructor Detail

Containerback to summary
pack-priv Container(long functionPointer, BGFXReleaseFunctionCallbackI delegate)

Method Detail

invokeback to summary
public void invoke(long _ptr, long _userData)

Implements org.lwjgl.bgfx.BGFXReleaseFunctionCallbackI.invoke.

Doc from org.lwjgl.bgfx.BGFXReleaseFunctionCallbackI.invoke.

Memory release callback.

Parameters
_ptr:long

pointer to allocated data

_userData:long

user defined data if needed

Annotations
@Override