Top Description Inners Constructors Methods
org.lwjgl.bgfx

public abstract Class BGFXProfilerBeginLiteral

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

Profiler region begin with string literal name.

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
BGFXProfilerBeginLiteral(long functionPointer)

Method Summary

Modifier and TypeMethod and Description
public static BGFXProfilerBeginLiteral

Returns:

the new BGFXProfilerBeginLiteral
create
(long functionPointer)

Creates a BGFXProfilerBeginLiteral instance from the specified function pointer.

public static BGFXProfilerBeginLiteral
create(BGFXProfilerBeginLiteralI instance)

Creates a BGFXProfilerBeginLiteral instance that delegates to the specified BGFXProfilerBeginLiteralI instance.

public static BGFXProfilerBeginLiteral
createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Inherited from org.lwjgl.system.Callback:
addressequalsfreefreegetgetSafehashCodetoString

Constructor Detail

BGFXProfilerBeginLiteralback to summary
protected BGFXProfilerBeginLiteral()
BGFXProfilerBeginLiteralback to summary
pack-priv BGFXProfilerBeginLiteral(long functionPointer)

Method Detail

createback to summary
public static BGFXProfilerBeginLiteral create(long functionPointer)

Creates a BGFXProfilerBeginLiteral instance from the specified function pointer.

Returns:BGFXProfilerBeginLiteral

the new BGFXProfilerBeginLiteral

createback to summary
public static BGFXProfilerBeginLiteral create(BGFXProfilerBeginLiteralI instance)

Creates a BGFXProfilerBeginLiteral instance that delegates to the specified BGFXProfilerBeginLiteralI instance.

createSafeback to summary
public static BGFXProfilerBeginLiteral createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Annotations
@Nullable
org.lwjgl.bgfx back to summary

private final Class BGFXProfilerBeginLiteral.Container

extends BGFXProfilerBeginLiteral
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final BGFXProfilerBeginLiteralI

Constructor Summary

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

Method Summary

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

Implements org.lwjgl.bgfx.BGFXProfilerBeginLiteralI.invoke.

Will be called when a profiler region with string literal begins.
Inherited from org.lwjgl.bgfx.BGFXProfilerBeginLiteral:
createcreatecreateSafe

Field Detail

delegateback to summary
private final BGFXProfilerBeginLiteralI delegate

Constructor Detail

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

Method Detail

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

Implements org.lwjgl.bgfx.BGFXProfilerBeginLiteralI.invoke.

Doc from org.lwjgl.bgfx.BGFXProfilerBeginLiteralI.invoke.

Will be called when a profiler region with string literal begins.

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

Parameters
_this:long

the callback interface

_name:long

region name, contains string literal

_abgr:int

color of profiler region

_filePath:long

file path where profiler_begin_literal was called

_line:short

line where profiler_begin_literal was called

Annotations
@Override