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

com.jme3.system.jopenvr.VR_IVRTrackedCamera_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 com.sun.jna.ptr.LongByReference;
import com.sun.jna.ptr.PointerByReference;
import java.util.Arrays;
import java.util.List;
/**
 * native declaration : headers\openvr_capi.h:1833
* 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_IVRTrackedCamera_FnTable extends Structure { /** C type : GetCameraErrorNameFromEnum_callback* */ public VR_IVRTrackedCamera_FnTable.GetCameraErrorNameFromEnum_callback GetCameraErrorNameFromEnum; /** C type : HasCamera_callback* */ public VR_IVRTrackedCamera_FnTable.HasCamera_callback HasCamera; /** C type : GetCameraFrameSize_callback* */ public VR_IVRTrackedCamera_FnTable.GetCameraFrameSize_callback GetCameraFrameSize; /** C type : GetCameraIntrinsics_callback* */ public VR_IVRTrackedCamera_FnTable.GetCameraIntrinsics_callback GetCameraIntrinsics; /** C type : GetCameraProjection_callback* */ public VR_IVRTrackedCamera_FnTable.GetCameraProjection_callback GetCameraProjection; /** C type : AcquireVideoStreamingService_callback* */ public VR_IVRTrackedCamera_FnTable.AcquireVideoStreamingService_callback AcquireVideoStreamingService; /** C type : ReleaseVideoStreamingService_callback* */ public VR_IVRTrackedCamera_FnTable.ReleaseVideoStreamingService_callback ReleaseVideoStreamingService; /** C type : GetVideoStreamFrameBuffer_callback* */ public VR_IVRTrackedCamera_FnTable.GetVideoStreamFrameBuffer_callback GetVideoStreamFrameBuffer; /** C type : GetVideoStreamTextureSize_callback* */ public VR_IVRTrackedCamera_FnTable.GetVideoStreamTextureSize_callback GetVideoStreamTextureSize; /** C type : GetVideoStreamTextureD3D11_callback* */ public VR_IVRTrackedCamera_FnTable.GetVideoStreamTextureD3D11_callback GetVideoStreamTextureD3D11; /** C type : GetVideoStreamTextureGL_callback* */ public VR_IVRTrackedCamera_FnTable.GetVideoStreamTextureGL_callback GetVideoStreamTextureGL; /** C type : ReleaseVideoStreamTextureGL_callback* */ public VR_IVRTrackedCamera_FnTable.ReleaseVideoStreamTextureGL_callback ReleaseVideoStreamTextureGL; /** native declaration : headers\openvr_capi.h:1821 */ public interface GetCameraErrorNameFromEnum_callback extends Callback { Pointer apply(int eCameraError); }; /** native declaration : headers\openvr_capi.h:1822 */ public interface HasCamera_callback extends Callback { int apply(int nDeviceIndex, Pointer pHasCamera); }; /** native declaration : headers\openvr_capi.h:1823 */ public interface GetCameraFrameSize_callback extends Callback { int apply(int nDeviceIndex, int eFrameType, IntByReference pnWidth, IntByReference pnHeight, IntByReference pnFrameBufferSize); }; /** native declaration : headers\openvr_capi.h:1824 */ public interface GetCameraIntrinsics_callback extends Callback { int apply(int nDeviceIndex, int eFrameType, HmdVector2_t pFocalLength, HmdVector2_t pCenter); }; /** native declaration : headers\openvr_capi.h:1825 */ public interface GetCameraProjection_callback extends Callback { int apply(int nDeviceIndex, int eFrameType, float flZNear, float flZFar, HmdMatrix44_t pProjection); }; /** native declaration : headers\openvr_capi.h:1826 */ public interface AcquireVideoStreamingService_callback extends Callback { int apply(int nDeviceIndex, LongByReference pHandle); }; /** native declaration : headers\openvr_capi.h:1827 */ public interface ReleaseVideoStreamingService_callback extends Callback { int apply(long hTrackedCamera); }; /** native declaration : headers\openvr_capi.h:1828 */ public interface GetVideoStreamFrameBuffer_callback extends Callback { int apply(long hTrackedCamera, int eFrameType, Pointer pFrameBuffer, int nFrameBufferSize, CameraVideoStreamFrameHeader_t pFrameHeader, int nFrameHeaderSize); }; /** native declaration : headers\openvr_capi.h:1829 */ public interface GetVideoStreamTextureSize_callback extends Callback { int apply(int nDeviceIndex, int eFrameType, VRTextureBounds_t pTextureBounds, IntByReference pnWidth, IntByReference pnHeight); }; /** native declaration : headers\openvr_capi.h:1830 */ public interface GetVideoStreamTextureD3D11_callback extends Callback { int apply(long hTrackedCamera, int eFrameType, Pointer pD3D11DeviceOrResource, PointerByReference ppD3D11ShaderResourceView, CameraVideoStreamFrameHeader_t pFrameHeader, int nFrameHeaderSize); }; /** native declaration : headers\openvr_capi.h:1831 */ public interface GetVideoStreamTextureGL_callback extends Callback { int apply(long hTrackedCamera, int eFrameType, IntByReference pglTextureId, CameraVideoStreamFrameHeader_t pFrameHeader, int nFrameHeaderSize); }; /** native declaration : headers\openvr_capi.h:1832 */ public interface ReleaseVideoStreamTextureGL_callback extends Callback { int apply(long hTrackedCamera, int glTextureId); }; public VR_IVRTrackedCamera_FnTable() { super(); } @Override protected List getFieldOrder() { return Arrays.asList("GetCameraErrorNameFromEnum", "HasCamera", "GetCameraFrameSize", "GetCameraIntrinsics", "GetCameraProjection", "AcquireVideoStreamingService", "ReleaseVideoStreamingService", "GetVideoStreamFrameBuffer", "GetVideoStreamTextureSize", "GetVideoStreamTextureD3D11", "GetVideoStreamTextureGL", "ReleaseVideoStreamTextureGL"); } public VR_IVRTrackedCamera_FnTable(Pointer peer) { super(peer); } public static class ByReference extends VR_IVRTrackedCamera_FnTable implements Structure.ByReference { }; public static class ByValue extends VR_IVRTrackedCamera_FnTable implements Structure.ByValue { }; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy