Top Description Inners Constructors Methods
org.lwjgl.bgfx

public abstract Class BGFXCaptureFrameCallback

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

Captured frame.

Type


void (*invoke) (
    bgfx_callback_interface_t *_this,
    void const *_data,
    uint32_t _size
)

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Constructor Summary

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

Method Summary

Modifier and TypeMethod and Description
public static BGFXCaptureFrameCallback

Returns:

the new BGFXCaptureFrameCallback
create
(long functionPointer)

Creates a BGFXCaptureFrameCallback instance from the specified function pointer.

public static BGFXCaptureFrameCallback
create(BGFXCaptureFrameCallbackI instance)

Creates a BGFXCaptureFrameCallback instance that delegates to the specified BGFXCaptureFrameCallbackI instance.

public static BGFXCaptureFrameCallback
createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Inherited from org.lwjgl.system.Callback:
addressequalsfreefreegetgetSafehashCodetoString

Constructor Detail

BGFXCaptureFrameCallbackback to summary
protected BGFXCaptureFrameCallback()
BGFXCaptureFrameCallbackback to summary
pack-priv BGFXCaptureFrameCallback(long functionPointer)

Method Detail

createback to summary
public static BGFXCaptureFrameCallback create(long functionPointer)

Creates a BGFXCaptureFrameCallback instance from the specified function pointer.

Returns:BGFXCaptureFrameCallback

the new BGFXCaptureFrameCallback

createback to summary
public static BGFXCaptureFrameCallback create(BGFXCaptureFrameCallbackI instance)

Creates a BGFXCaptureFrameCallback instance that delegates to the specified BGFXCaptureFrameCallbackI instance.

createSafeback to summary
public static BGFXCaptureFrameCallback createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Annotations
@Nullable
org.lwjgl.bgfx back to summary

private final Class BGFXCaptureFrameCallback.Container

extends BGFXCaptureFrameCallback
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final BGFXCaptureFrameCallbackI

Constructor Summary

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

Method Summary

Modifier and TypeMethod and Description
public void
invoke(long
the callback interface
_this
,
long
image data
_data
,
int
image size
_size
)

Implements org.lwjgl.bgfx.BGFXCaptureFrameCallbackI.invoke.

Will be called when a frame is captured.
Inherited from org.lwjgl.bgfx.BGFXCaptureFrameCallback:
createcreatecreateSafe

Field Detail

delegateback to summary
private final BGFXCaptureFrameCallbackI delegate

Constructor Detail

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

Method Detail

invokeback to summary
public void invoke(long _this, long _data, int _size)

Implements org.lwjgl.bgfx.BGFXCaptureFrameCallbackI.invoke.

Doc from org.lwjgl.bgfx.BGFXCaptureFrameCallbackI.invoke.

Will be called when a frame is captured.

Parameters
_this:long

the callback interface

_data:long

image data

_size:int

image size

Annotations
@Override