Class OsvrRenderManagerLibrary

java.lang.Object
com.jme3.system.osvr.osvrrendermanager.OsvrRenderManagerLibrary
All Implemented Interfaces:
com.sun.jna.Library

public class OsvrRenderManagerLibrary extends Object implements com.sun.jna.Library
JNA Wrapper for library osvrRenderManager
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.
  • Field Details

    • JNA_LIBRARY_NAME

      public static final String JNA_LIBRARY_NAME
      See Also:
    • JNA_NATIVE_LIB

      public static final com.sun.jna.NativeLibrary JNA_NATIVE_LIB
  • Constructor Details

    • OsvrRenderManagerLibrary

      public OsvrRenderManagerLibrary()
  • Method Details

    • osvrDestroyRenderManager

      public static byte osvrDestroyRenderManager(com.sun.jna.Pointer renderManager)
      todo OSVR_RenderTimingInfo. Original signature : OSVR_ReturnCode osvrDestroyRenderManager(OSVR_RenderManager)
    • osvrRenderManagerGetNumRenderInfo

      public static byte osvrRenderManagerGetNumRenderInfo(com.sun.jna.Pointer renderManager, OSVR_RenderParams.ByValue renderParams, com.ochafik.lang.jnaerator.runtime.NativeSizeByReference numRenderInfoOut)
      todo Make this actually cache, for now it does not.
      Original signature : OSVR_ReturnCode osvrRenderManagerGetNumRenderInfo(OSVR_RenderManager, OSVR_RenderParams, OSVR_RenderInfoCount*)
    • osvrRenderManagerGetDoingOkay

      public static byte osvrRenderManagerGetDoingOkay(com.sun.jna.Pointer renderManager)
      Original signature : OSVR_ReturnCode osvrRenderManagerGetDoingOkay(OSVR_RenderManager)
    • osvrRenderManagerGetDefaultRenderParams

      public static byte osvrRenderManagerGetDefaultRenderParams(OSVR_RenderParams renderParamsOut)
      Original signature : OSVR_ReturnCode osvrRenderManagerGetDefaultRenderParams(OSVR_RenderParams*)
    • osvrRenderManagerStartPresentRenderBuffers

      public static byte osvrRenderManagerStartPresentRenderBuffers(com.sun.jna.ptr.PointerByReference presentStateOut)
      must be registered before they are presented.
      Original signature : OSVR_ReturnCode osvrRenderManagerStartPresentRenderBuffers(OSVR_RenderManagerPresentState*)
    • osvrRenderManagerFinishPresentRenderBuffers

      public static byte osvrRenderManagerFinishPresentRenderBuffers(com.sun.jna.Pointer renderManager, com.sun.jna.Pointer presentState, OSVR_RenderParams.ByValue renderParams, byte shouldFlipY)
      buffers for a single frame. This sequence starts with the Start function.
      Original signature : OSVR_ReturnCode osvrRenderManagerFinishPresentRenderBuffers(OSVR_RenderManager, OSVR_RenderManagerPresentState, OSVR_RenderParams, OSVR_CBool)
    • osvrRenderManagerStartRegisterRenderBuffers

      public static byte osvrRenderManagerStartRegisterRenderBuffers(com.sun.jna.ptr.PointerByReference registerBufferStateOut)
      must be registered before they are presented.
      Original signature : OSVR_ReturnCode osvrRenderManagerStartRegisterRenderBuffers(OSVR_RenderManagerRegisterBufferState*)
    • osvrRenderManagerFinishRegisterRenderBuffers

      public static byte osvrRenderManagerFinishRegisterRenderBuffers(com.sun.jna.Pointer renderManager, com.sun.jna.Pointer registerBufferState, byte appWillNotOverwriteBeforeNewPresent)
      buffers for a single frame. This sequence starts with the Start function.
      Original signature : OSVR_ReturnCode osvrRenderManagerFinishRegisterRenderBuffers(OSVR_RenderManager, OSVR_RenderManagerRegisterBufferState, OSVR_CBool)
    • osvrRenderManagerPresentSolidColorf

      public static byte osvrRenderManagerPresentSolidColorf(com.sun.jna.Pointer renderManager, OSVR_RGB.ByValue rgb)
      Original signature : OSVR_ReturnCode osvrRenderManagerPresentSolidColorf(OSVR_RenderManager, OSVR_RGB_FLOAT)
    • osvrRenderManagerGetRenderInfoCollection

      public static byte osvrRenderManagerGetRenderInfoCollection(com.sun.jna.Pointer renderManager, OSVR_RenderParams.ByValue renderParams, com.sun.jna.ptr.PointerByReference renderInfoCollectionOut)
      when you're done.
      Original signature : OSVR_ReturnCode osvrRenderManagerGetRenderInfoCollection(OSVR_RenderManager, OSVR_RenderParams, OSVR_RenderInfoCollection*)
    • osvrRenderManagerReleaseRenderInfoCollection

      public static byte osvrRenderManagerReleaseRenderInfoCollection(com.sun.jna.Pointer renderInfoCollection)
      Releases the OSVR_RenderInfoCollection.
      Original signature : OSVR_ReturnCode osvrRenderManagerReleaseRenderInfoCollection(OSVR_RenderInfoCollection)
    • osvrRenderManagerGetNumRenderInfoInCollection

      public static byte osvrRenderManagerGetNumRenderInfoInCollection(com.sun.jna.Pointer renderInfoCollection, com.ochafik.lang.jnaerator.runtime.NativeSizeByReference countOut)
      Get the size of the OSVR_RenderInfoCollection.
      Original signature : OSVR_ReturnCode osvrRenderManagerGetNumRenderInfoInCollection(OSVR_RenderInfoCollection, OSVR_RenderInfoCount*)
    • OSVR_Projection_to_OpenGL

      @Deprecated public static byte OSVR_Projection_to_OpenGL(com.sun.jna.ptr.DoubleByReference OpenGL_out, OSVR_ProjectionMatrix.ByValue projection_in)
      Returns:
      True on success, false on failure (null pointer).
      Original signature : OSVR_ReturnCode OSVR_Projection_to_OpenGL(double*, OSVR_ProjectionMatrix)
    • OSVR_Projection_to_OpenGL

      public static byte OSVR_Projection_to_OpenGL(DoubleBuffer OpenGL_out, OSVR_ProjectionMatrix.ByValue projection_in)
      Returns:
      True on success, false on failure (null pointer).
      Original signature : OSVR_ReturnCode OSVR_Projection_to_OpenGL(double*, OSVR_ProjectionMatrix)
    • OSVR_Projection_to_D3D

      @Deprecated public static byte OSVR_Projection_to_D3D(com.sun.jna.ptr.FloatByReference D3D_out, OSVR_ProjectionMatrix.ByValue projection_in)
      Returns:
      True on success, false on failure (null pointer).
      Original signature : OSVR_ReturnCode OSVR_Projection_to_D3D(float[16], OSVR_ProjectionMatrix)
    • OSVR_Projection_to_D3D

      public static byte OSVR_Projection_to_D3D(FloatBuffer D3D_out, OSVR_ProjectionMatrix.ByValue projection_in)
      Returns:
      True on success, false on failure (null pointer).
      Original signature : OSVR_ReturnCode OSVR_Projection_to_D3D(float[16], OSVR_ProjectionMatrix)
    • OSVR_Projection_to_Unreal

      @Deprecated public static byte OSVR_Projection_to_Unreal(com.sun.jna.ptr.FloatByReference Unreal_out, OSVR_ProjectionMatrix.ByValue projection_in)
      Returns:
      True on success, false on failure (null pointer).
      Original signature : OSVR_ReturnCode OSVR_Projection_to_Unreal(float[16], OSVR_ProjectionMatrix)
    • OSVR_Projection_to_Unreal

      public static byte OSVR_Projection_to_Unreal(FloatBuffer Unreal_out, OSVR_ProjectionMatrix.ByValue projection_in)
      Returns:
      True on success, false on failure (null pointer).
      Original signature : OSVR_ReturnCode OSVR_Projection_to_Unreal(float[16], OSVR_ProjectionMatrix)