All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.lwjgl.bgfx.BGFXFatalCallbackI Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 3.3.4
Show newest version
/*
 * 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.*;

/**
 * If fatal code is not {@link BGFX#BGFX_FATAL_DEBUG_CHECK FATAL_DEBUG_CHECK} this callback is called on unrecoverable error. It's not safe to continue, inform user and terminate
 * application from this call.
 * 
 * 

Not thread safe and it can be called from any thread.

* *

Type

* *

 * void (*) (
 *     bgfx_callback_interface_t *_this,
 *     bgfx_fatal_t _code,
 *     char *_str
 * )
*/ @FunctionalInterface @NativeType("void (*) (bgfx_callback_interface_t *, bgfx_fatal_t, char *)") public interface BGFXFatalCallbackI extends CallbackI.V { String SIGNATURE = "(pip)v"; @Override default String getSignature() { return SIGNATURE; } @Override default void callback(long args) { invoke( dcbArgPointer(args), dcbArgInt(args), dcbArgPointer(args) ); } /** * This callback is called on unrecoverable errors. * * @param _this the callback interface * @param _code the error code * @param _str the error message */ void invoke(@NativeType("bgfx_callback_interface_t *") long _this, @NativeType("bgfx_fatal_t") int _code, @NativeType("char *") long _str); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy