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

org.lwjgl.bgfx.BGFXScreenShotCallbackI 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.*;

/**
 * Screenshot captured. Screenshot format is always 4-byte BGRA.
 * 
 * 

Type

* *

 * void (*) (
 *     bgfx_callback_interface_t *_this,
 *     char const *_filePath,
 *     uint32_t _width,
 *     uint32_t _height,
 *     uint32_t _pitch,
 *     void const *_data,
 *     uint32_t _size,
 *     bool _yflip
 * )
*/ @FunctionalInterface @NativeType("void (*) (bgfx_callback_interface_t *, char const *, uint32_t, uint32_t, uint32_t, void const *, uint32_t, bool)") public interface BGFXScreenShotCallbackI extends CallbackI.V { String SIGNATURE = "(ppiiipiB)v"; @Override default String getSignature() { return SIGNATURE; } @Override default void callback(long args) { invoke( dcbArgPointer(args), dcbArgPointer(args), dcbArgInt(args), dcbArgInt(args), dcbArgInt(args), dcbArgPointer(args), dcbArgInt(args), dcbArgBool(args) ); } /** * @param _this the callback interface * @param _filePath file path * @param _width image width * @param _height image height * @param _pitch number of bytes to skip between the start of each horizontal line of the image * @param _data image data * @param _size image size * @param _yflip if true, image origin is bottom left */ void invoke(@NativeType("bgfx_callback_interface_t *") long _this, @NativeType("char const *") long _filePath, @NativeType("uint32_t") int _width, @NativeType("uint32_t") int _height, @NativeType("uint32_t") int _pitch, @NativeType("void const *") long _data, @NativeType("uint32_t") int _size, @NativeType("bool") boolean _yflip); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy