org.lwjgl.bgfx.BGFXTraceVarArgsCallbackI 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.*;
/**
* Prints a debug message.
*
* Not thread safe and it can be called from any thread.
*
* Type
*
*
* void (*) (
* bgfx_callback_interface_t *_this,
* char const *_filePath,
* uint16_t _line,
* char const *_format,
* va_list _argList
* )
*/
@FunctionalInterface
@NativeType("void (*) (bgfx_callback_interface_t *, char const *, uint16_t, char const *, va_list)")
public interface BGFXTraceVarArgsCallbackI extends CallbackI.V {
String SIGNATURE = "(ppspp)v";
@Override
default String getSignature() { return SIGNATURE; }
@Override
default void callback(long args) {
invoke(
dcbArgPointer(args),
dcbArgPointer(args),
dcbArgShort(args),
dcbArgPointer(args),
dcbArgPointer(args)
);
}
/**
* Will be called when a debug message is produced.
*
* @param _this the callback interface
* @param _filePath file path where debug message was generated
* @param _line line where debug message was generated
* @param _format {@code printf} style format
* @param _argList variable arguments list initialized with {@code va_start}
*/
void invoke(@NativeType("bgfx_callback_interface_t *") long _this, @NativeType("char const *") long _filePath, @NativeType("uint16_t") short _line, @NativeType("char const *") long _format, @NativeType("va_list") long _argList);
}