Top Description Inners Constructors Methods
org.lwjgl.bgfx

public abstract Class BGFXProfilerBegin

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

Profiler region begin.

Type


void (*invoke) (
    bgfx_callback_interface_t *_this,
    char const *_name,
    uint32_t _abgr,
    char const *_filePath,
    uint16_t _line
)

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Constructor Summary

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

Method Summary

Modifier and TypeMethod and Description
public static BGFXProfilerBegin

Returns:

the new BGFXProfilerBegin
create
(long functionPointer)

Creates a BGFXProfilerBegin instance from the specified function pointer.

public static BGFXProfilerBegin
create(BGFXProfilerBeginI instance)

Creates a BGFXProfilerBegin instance that delegates to the specified BGFXProfilerBeginI instance.

public static BGFXProfilerBegin
createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Inherited from org.lwjgl.system.Callback:
addressequalsfreefreegetgetSafehashCodetoString

Constructor Detail

BGFXProfilerBeginback to summary
protected BGFXProfilerBegin()
BGFXProfilerBeginback to summary
pack-priv BGFXProfilerBegin(long functionPointer)

Method Detail

createback to summary
public static BGFXProfilerBegin create(long functionPointer)

Creates a BGFXProfilerBegin instance from the specified function pointer.

Returns:BGFXProfilerBegin

the new BGFXProfilerBegin

createback to summary
public static BGFXProfilerBegin create(BGFXProfilerBeginI instance)

Creates a BGFXProfilerBegin instance that delegates to the specified BGFXProfilerBeginI instance.

createSafeback to summary
public static BGFXProfilerBegin createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Annotations
@Nullable
org.lwjgl.bgfx back to summary

private final Class BGFXProfilerBegin.Container

extends BGFXProfilerBegin
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final BGFXProfilerBeginI

Constructor Summary

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

Method Summary

Modifier and TypeMethod and Description
public void
invoke(long
the callback interface
_this
,
long
region name, contains dynamic string
_name
,
int
color of profiler region
_abgr
,
long
file path where profiler_begin was called
_filePath
,
short
line where profiler_begin was called
_line
)

Implements org.lwjgl.bgfx.BGFXProfilerBeginI.invoke.

Will be called when a profiler region begins.
Inherited from org.lwjgl.bgfx.BGFXProfilerBegin:
createcreatecreateSafe

Field Detail

delegateback to summary
private final BGFXProfilerBeginI delegate

Constructor Detail

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

Method Detail

invokeback to summary
public void invoke(long _this, long _name, int _abgr, long _filePath, short _line)

Implements org.lwjgl.bgfx.BGFXProfilerBeginI.invoke.

Doc from org.lwjgl.bgfx.BGFXProfilerBeginI.invoke.

Will be called when a profiler region begins.

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

Parameters
_this:long

the callback interface

_name:long

region name, contains dynamic string

_abgr:int

color of profiler region

_filePath:long

file path where profiler_begin was called

_line:short

line where profiler_begin was called

Annotations
@Override