
org.lwjgl.bgfx.BGFXCaptureBeginCallbackI Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lwjgl-bgfx Show documentation
Show all versions of lwjgl-bgfx Show documentation
A cross-platform, graphics API agnostic rendering library. It provides a high performance, low level abstraction for common platform graphics APIs like OpenGL, Direct3D and Apple Metal.
/*
* Copyright LWJGL. All rights reserved.
* License terms: https://www.lwjgl.org/license
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.bgfx;
import org.lwjgl.system.*;
import static org.lwjgl.system.dyncall.DynCallback.*;
/** Called when capture begins. */
@FunctionalInterface
@NativeType("capture_begin")
public interface BGFXCaptureBeginCallbackI extends CallbackI.V {
String SIGNATURE = "(piiiiB)v";
@Override
default String getSignature() { return SIGNATURE; }
@Override
default void callback(long args) {
invoke(
dcbArgPointer(args),
dcbArgInt(args),
dcbArgInt(args),
dcbArgInt(args),
dcbArgInt(args),
dcbArgBool(args)
);
}
/**
* Will be called when capture begins.
*
* @param _this the callback interface
* @param _width image width
* @param _height image height
* @param _pitch number of bytes to skip to next line
* @param _format texture format
* @param _yflip if true image origin is bottom left
*/
void invoke(@NativeType("bgfx_callback_interface_t *") long _this, @NativeType("uint32_t") int _width, @NativeType("uint32_t") int _height, @NativeType("uint32_t") int _pitch, @NativeType("bgfx_texture_format_t") int _format, @NativeType("bool") boolean _yflip);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy