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

com.jme3.system.jopenvr.VR_IVRResources_FnTable Maven / Gradle / Ivy

There is a newer version: 3.7.0-stable
Show newest version
package com.jme3.system.jopenvr;
import com.sun.jna.Callback;
import com.sun.jna.Pointer;
import com.sun.jna.Structure;
import java.util.Arrays;
import java.util.List;
/**
 * native declaration : headers\openvr_capi.h:2305
* This file was autogenerated by JNAerator,
* a tool written by Olivier Chafik that uses a few opensource projects..
* For help, please visit NativeLibs4Java , Rococoa, or JNA. */ public class VR_IVRResources_FnTable extends Structure { /** C type : LoadSharedResource_callback* */ public VR_IVRResources_FnTable.LoadSharedResource_callback LoadSharedResource; /** C type : GetResourceFullPath_callback* */ public VR_IVRResources_FnTable.GetResourceFullPath_callback GetResourceFullPath; /** native declaration : headers\openvr_capi.h:2303 */ public interface LoadSharedResource_callback extends Callback { int apply(Pointer pchResourceName, Pointer pchBuffer, int unBufferLen); }; /** native declaration : headers\openvr_capi.h:2304 */ public interface GetResourceFullPath_callback extends Callback { int apply(Pointer pchResourceName, Pointer pchResourceTypeDirectory, Pointer pchPathBuffer, int unBufferLen); }; public VR_IVRResources_FnTable() { super(); } @Override protected List getFieldOrder() { return Arrays.asList("LoadSharedResource", "GetResourceFullPath"); } /** * @param LoadSharedResource C type : LoadSharedResource_callback*
* @param GetResourceFullPath C type : GetResourceFullPath_callback* */ public VR_IVRResources_FnTable(VR_IVRResources_FnTable.LoadSharedResource_callback LoadSharedResource, VR_IVRResources_FnTable.GetResourceFullPath_callback GetResourceFullPath) { super(); this.LoadSharedResource = LoadSharedResource; this.GetResourceFullPath = GetResourceFullPath; } public VR_IVRResources_FnTable(Pointer peer) { super(peer); } public static class ByReference extends VR_IVRResources_FnTable implements Structure.ByReference { }; public static class ByValue extends VR_IVRResources_FnTable implements Structure.ByValue { }; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy