Top Description Inners Constructors Methods
org.lwjgl.bgfx

public abstract Class BGFXCaptureBeginCallback

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

Called when video capture begins.

Type


void (*invoke) (
    bgfx_callback_interface_t *_this,
    uint32_t _width,
    uint32_t _height,
    uint32_t _pitch,
    bgfx_texture_format_t _format,
    bool _yflip
)

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Constructor Summary

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

Method Summary

Modifier and TypeMethod and Description
public static BGFXCaptureBeginCallback

Returns:

the new BGFXCaptureBeginCallback
create
(long functionPointer)

Creates a BGFXCaptureBeginCallback instance from the specified function pointer.

public static BGFXCaptureBeginCallback
create(BGFXCaptureBeginCallbackI instance)

Creates a BGFXCaptureBeginCallback instance that delegates to the specified BGFXCaptureBeginCallbackI instance.

public static BGFXCaptureBeginCallback
createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Inherited from org.lwjgl.system.Callback:
addressequalsfreefreegetgetSafehashCodetoString

Constructor Detail

BGFXCaptureBeginCallbackback to summary
protected BGFXCaptureBeginCallback()
BGFXCaptureBeginCallbackback to summary
pack-priv BGFXCaptureBeginCallback(long functionPointer)

Method Detail

createback to summary
public static BGFXCaptureBeginCallback create(long functionPointer)

Creates a BGFXCaptureBeginCallback instance from the specified function pointer.

Returns:BGFXCaptureBeginCallback

the new BGFXCaptureBeginCallback

createback to summary
public static BGFXCaptureBeginCallback create(BGFXCaptureBeginCallbackI instance)

Creates a BGFXCaptureBeginCallback instance that delegates to the specified BGFXCaptureBeginCallbackI instance.

createSafeback to summary
public static BGFXCaptureBeginCallback createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Annotations
@Nullable
org.lwjgl.bgfx back to summary

private final Class BGFXCaptureBeginCallback.Container

extends BGFXCaptureBeginCallback
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final BGFXCaptureBeginCallbackI

Constructor Summary

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

Method Summary

Modifier and TypeMethod and Description
public void
invoke(long
the callback interface
_this
,
int
image width
_width
,
int
image height
_height
,
int
number of bytes to skip between the start of each horizontal line of the image
_pitch
,
int
texture format
_format
,
boolean
if true, image origin is bottom left
_yflip
)

Implements org.lwjgl.bgfx.BGFXCaptureBeginCallbackI.invoke.

Will be called when video capture begins.
Inherited from org.lwjgl.bgfx.BGFXCaptureBeginCallback:
createcreatecreateSafe

Field Detail

delegateback to summary
private final BGFXCaptureBeginCallbackI delegate

Constructor Detail

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

Method Detail

invokeback to summary
public void invoke(long _this, int _width, int _height, int _pitch, int _format, boolean _yflip)

Implements org.lwjgl.bgfx.BGFXCaptureBeginCallbackI.invoke.

Doc from org.lwjgl.bgfx.BGFXCaptureBeginCallbackI.invoke.

Will be called when video capture begins.

Parameters
_this:long

the callback interface

_width:int

image width

_height:int

image height

_pitch:int

number of bytes to skip between the start of each horizontal line of the image

_format:int

texture format

_yflip:boolean

if true, image origin is bottom left

Annotations
@Override