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

com.jme3.system.jopenvr.VR_IVRScreenshots_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 com.sun.jna.ptr.IntByReference;
import java.util.Arrays;
import java.util.List;
/**
 * native declaration : headers\openvr_capi.h:2299
* 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_IVRScreenshots_FnTable extends Structure { /** C type : RequestScreenshot_callback* */ public VR_IVRScreenshots_FnTable.RequestScreenshot_callback RequestScreenshot; /** C type : HookScreenshot_callback* */ public VR_IVRScreenshots_FnTable.HookScreenshot_callback HookScreenshot; /** C type : GetScreenshotPropertyType_callback* */ public VR_IVRScreenshots_FnTable.GetScreenshotPropertyType_callback GetScreenshotPropertyType; /** C type : GetScreenshotPropertyFilename_callback* */ public VR_IVRScreenshots_FnTable.GetScreenshotPropertyFilename_callback GetScreenshotPropertyFilename; /** C type : UpdateScreenshotProgress_callback* */ public VR_IVRScreenshots_FnTable.UpdateScreenshotProgress_callback UpdateScreenshotProgress; /** C type : TakeStereoScreenshot_callback* */ public VR_IVRScreenshots_FnTable.TakeStereoScreenshot_callback TakeStereoScreenshot; /** C type : SubmitScreenshot_callback* */ public VR_IVRScreenshots_FnTable.SubmitScreenshot_callback SubmitScreenshot; /** native declaration : headers\openvr_capi.h:2292 */ public interface RequestScreenshot_callback extends Callback { int apply(IntByReference pOutScreenshotHandle, int type, Pointer pchPreviewFilename, Pointer pchVRFilename); }; /** native declaration : headers\openvr_capi.h:2293 */ public interface HookScreenshot_callback extends Callback { int apply(IntByReference pSupportedTypes, int numTypes); }; /** native declaration : headers\openvr_capi.h:2294 */ public interface GetScreenshotPropertyType_callback extends Callback { int apply(int screenshotHandle, IntByReference pError); }; /** native declaration : headers\openvr_capi.h:2295 */ public interface GetScreenshotPropertyFilename_callback extends Callback { int apply(int screenshotHandle, int filenameType, Pointer pchFilename, int cchFilename, IntByReference pError); }; /** native declaration : headers\openvr_capi.h:2296 */ public interface UpdateScreenshotProgress_callback extends Callback { int apply(int screenshotHandle, float flProgress); }; /** native declaration : headers\openvr_capi.h:2297 */ public interface TakeStereoScreenshot_callback extends Callback { int apply(IntByReference pOutScreenshotHandle, Pointer pchPreviewFilename, Pointer pchVRFilename); }; /** native declaration : headers\openvr_capi.h:2298 */ public interface SubmitScreenshot_callback extends Callback { int apply(int screenshotHandle, int type, Pointer pchSourcePreviewFilename, Pointer pchSourceVRFilename); }; public VR_IVRScreenshots_FnTable() { super(); } @Override protected List getFieldOrder() { return Arrays.asList("RequestScreenshot", "HookScreenshot", "GetScreenshotPropertyType", "GetScreenshotPropertyFilename", "UpdateScreenshotProgress", "TakeStereoScreenshot", "SubmitScreenshot"); } /** * @param RequestScreenshot C type : RequestScreenshot_callback*
* @param HookScreenshot C type : HookScreenshot_callback*
* @param GetScreenshotPropertyType C type : GetScreenshotPropertyType_callback*
* @param GetScreenshotPropertyFilename C type : GetScreenshotPropertyFilename_callback*
* @param UpdateScreenshotProgress C type : UpdateScreenshotProgress_callback*
* @param TakeStereoScreenshot C type : TakeStereoScreenshot_callback*
* @param SubmitScreenshot C type : SubmitScreenshot_callback* */ public VR_IVRScreenshots_FnTable(VR_IVRScreenshots_FnTable.RequestScreenshot_callback RequestScreenshot, VR_IVRScreenshots_FnTable.HookScreenshot_callback HookScreenshot, VR_IVRScreenshots_FnTable.GetScreenshotPropertyType_callback GetScreenshotPropertyType, VR_IVRScreenshots_FnTable.GetScreenshotPropertyFilename_callback GetScreenshotPropertyFilename, VR_IVRScreenshots_FnTable.UpdateScreenshotProgress_callback UpdateScreenshotProgress, VR_IVRScreenshots_FnTable.TakeStereoScreenshot_callback TakeStereoScreenshot, VR_IVRScreenshots_FnTable.SubmitScreenshot_callback SubmitScreenshot) { super(); this.RequestScreenshot = RequestScreenshot; this.HookScreenshot = HookScreenshot; this.GetScreenshotPropertyType = GetScreenshotPropertyType; this.GetScreenshotPropertyFilename = GetScreenshotPropertyFilename; this.UpdateScreenshotProgress = UpdateScreenshotProgress; this.TakeStereoScreenshot = TakeStereoScreenshot; this.SubmitScreenshot = SubmitScreenshot; } public VR_IVRScreenshots_FnTable(Pointer peer) { super(peer); } public static class ByReference extends VR_IVRScreenshots_FnTable implements Structure.ByReference { }; public static class ByValue extends VR_IVRScreenshots_FnTable implements Structure.ByValue { }; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy