Top Description Inners Constructors Methods
org.lwjgl.bgfx

public abstract Class BGFXTraceVarArgsCallback

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

Prints a debug message.

Not thread safe and it can be called from any thread.

Type


void (*invoke) (
    bgfx_callback_interface_t *_this,
    char const *_filePath,
    uint16_t _line,
    char const *_format,
    va_list _argList
)

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Constructor Summary

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

Method Summary

Modifier and TypeMethod and Description
public static BGFXTraceVarArgsCallback

Returns:

the new BGFXTraceVarArgsCallback
create
(long functionPointer)

Creates a BGFXTraceVarArgsCallback instance from the specified function pointer.

public static BGFXTraceVarArgsCallback
create(BGFXTraceVarArgsCallbackI instance)

Creates a BGFXTraceVarArgsCallback instance that delegates to the specified BGFXTraceVarArgsCallbackI instance.

public static BGFXTraceVarArgsCallback
createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Inherited from org.lwjgl.system.Callback:
addressequalsfreefreegetgetSafehashCodetoString

Constructor Detail

BGFXTraceVarArgsCallbackback to summary
protected BGFXTraceVarArgsCallback()
BGFXTraceVarArgsCallbackback to summary
pack-priv BGFXTraceVarArgsCallback(long functionPointer)

Method Detail

createback to summary
public static BGFXTraceVarArgsCallback create(long functionPointer)

Creates a BGFXTraceVarArgsCallback instance from the specified function pointer.

Returns:BGFXTraceVarArgsCallback

the new BGFXTraceVarArgsCallback

createback to summary
public static BGFXTraceVarArgsCallback create(BGFXTraceVarArgsCallbackI instance)

Creates a BGFXTraceVarArgsCallback instance that delegates to the specified BGFXTraceVarArgsCallbackI instance.

createSafeback to summary
public static BGFXTraceVarArgsCallback createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Annotations
@Nullable
org.lwjgl.bgfx back to summary

private final Class BGFXTraceVarArgsCallback.Container

extends BGFXTraceVarArgsCallback
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final BGFXTraceVarArgsCallbackI

Constructor Summary

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

Method Summary

Modifier and TypeMethod and Description
public void
invoke(long
the callback interface
_this
,
long
file path where debug message was generated
_filePath
,
short
line where debug message was generated
_line
,
long
printf style format
_format
,
long
variable arguments list initialized with va_start
_argList
)

Implements org.lwjgl.bgfx.BGFXTraceVarArgsCallbackI.invoke.

Will be called when a debug message is produced.
Inherited from org.lwjgl.bgfx.BGFXTraceVarArgsCallback:
createcreatecreateSafe

Field Detail

delegateback to summary
private final BGFXTraceVarArgsCallbackI delegate

Constructor Detail

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

Method Detail

invokeback to summary
public void invoke(long _this, long _filePath, short _line, long _format, long _argList)

Implements org.lwjgl.bgfx.BGFXTraceVarArgsCallbackI.invoke.

Doc from org.lwjgl.bgfx.BGFXTraceVarArgsCallbackI.invoke.

Will be called when a debug message is produced.

Parameters
_this:long

the callback interface

_filePath:long

file path where debug message was generated

_line:short

line where debug message was generated

_format:long

printf style format

_argList:long

variable arguments list initialized with va_start

Annotations
@Override