
org.lwjgl.bgfx.BGFXProfilerBeginLiteralI 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.*;
/** Profiler region begin with string literal name. */
@FunctionalInterface
@NativeType("profiler_begin_literal")
public interface BGFXProfilerBeginLiteralI extends CallbackI.V {
String SIGNATURE = "(ppips)v";
@Override
default String getSignature() { return SIGNATURE; }
@Override
default void callback(long args) {
invoke(
dcbArgPointer(args),
dcbArgPointer(args),
dcbArgInt(args),
dcbArgPointer(args),
dcbArgShort(args)
);
}
/**
* Will be called when a profiler region with string literal begins.
*
* Not thread safe and it can be called from any thread.
*
* @param _this the callback interface
* @param _name region name, contains string literal
* @param _abgr color of profiler region
* @param _filePath file path where {@code profilerBeginLiteral} was called
* @param _line line where {@code profilerBeginLiteral} was called
*/
void invoke(@NativeType("bgfx_callback_interface_t *") long _this, @NativeType("const char *") long _name, @NativeType("uint32_t") int _abgr, @NativeType("const char *") long _filePath, @NativeType("uint16_t") short _line);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy