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

org.lwjgl.assimp.AIFileWriteProcI Maven / Gradle / Ivy

Go to download

A portable Open Source library to import various well-known 3D model formats in a uniform manner.

There is a newer version: 3.3.5
Show newest version
/*
 * Copyright LWJGL. All rights reserved.
 * License terms: https://www.lwjgl.org/license
 * MACHINE GENERATED FILE, DO NOT EDIT
 */
package org.lwjgl.assimp;

import org.lwjgl.system.*;

import static org.lwjgl.system.dyncall.DynCallback.*;

/**
 * 

Type

* *

 * size_t (*) (
 *     struct aiFile *pFile,
 *     char const *pBuffer,
 *     size_t memB,
 *     size_t count
 * )
*/ @FunctionalInterface @NativeType("aiFileWriteProc") public interface AIFileWriteProcI extends CallbackI.P { String SIGNATURE = "(pppp)p"; @Override default String getSignature() { return SIGNATURE; } @Override default long callback(long args) { return invoke( dcbArgPointer(args), dcbArgPointer(args), dcbArgPointer(args), dcbArgPointer(args) ); } /** * File write procedure. * * @param pFile File pointer to write to * @param pBuffer The buffer to be written * @param memB Size of the individual element to be written * @param count Number of elements to be written */ @NativeType("size_t") long invoke(@NativeType("struct aiFile *") long pFile, @NativeType("char const *") long pBuffer, @NativeType("size_t") long memB, @NativeType("size_t") long count); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy