Class OsvrRenderManagerOpenGLLibrary
java.lang.Object
com.jme3.system.osvr.osvrrendermanageropengl.OsvrRenderManagerOpenGLLibrary
- All Implemented Interfaces:
com.sun.jna.Library
JNA Wrapper for library osvrRenderManagerOpenGL
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.
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.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static interface
enum valuesNested classes/interfaces inherited from interface com.sun.jna.Library
com.sun.jna.Library.Handler
-
Field Summary
Fields inherited from interface com.sun.jna.Library
OPTION_ALLOW_OBJECTS, OPTION_CALLING_CONVENTION, OPTION_CLASSLOADER, OPTION_FUNCTION_MAPPER, OPTION_INVOCATION_MAPPER, OPTION_OPEN_FLAGS, OPTION_STRING_ENCODING, OPTION_STRUCTURE_ALIGNMENT, OPTION_TYPE_MAPPER
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic byte
OSVR_Projection_to_D3D
(com.sun.jna.ptr.FloatByReference D3D_out, OSVR_ProjectionMatrix.ByValue projection_in) Deprecated.static byte
OSVR_Projection_to_D3D
(FloatBuffer D3D_out, OSVR_ProjectionMatrix.ByValue projection_in) static byte
OSVR_Projection_to_OpenGL
(com.sun.jna.ptr.DoubleByReference OpenGL_out, OSVR_ProjectionMatrix.ByValue projection_in) Deprecated.static byte
OSVR_Projection_to_OpenGL
(DoubleBuffer OpenGL_out, OSVR_ProjectionMatrix.ByValue projection_in) static byte
OSVR_Projection_to_Unreal
(com.sun.jna.ptr.FloatByReference Unreal_out, OSVR_ProjectionMatrix.ByValue projection_in) Deprecated.static byte
OSVR_Projection_to_Unreal
(FloatBuffer Unreal_out, OSVR_ProjectionMatrix.ByValue projection_in) static byte
osvrCreateRenderManagerOpenGL
(OsvrClientKitLibrary.OSVR_ClientContext clientContext, byte[] graphicsLibraryName, OSVR_GraphicsLibraryOpenGL.ByValue graphicsLibrary, com.sun.jna.ptr.PointerByReference renderManagerOut, com.sun.jna.ptr.PointerByReference renderManagerOpenGLOut) Original signature :OSVR_ReturnCode osvrCreateRenderManagerOpenGL(OSVR_ClientContext, const char[], OSVR_GraphicsLibraryOpenGL, OSVR_RenderManager*, OSVR_RenderManagerOpenGL*)
static byte
osvrCreateRenderManagerOpenGL
(com.sun.jna.Pointer clientContext, com.sun.jna.Pointer graphicsLibraryName, OSVR_GraphicsLibraryOpenGL.ByValue graphicsLibrary, com.sun.jna.ptr.PointerByReference renderManagerOut, com.sun.jna.ptr.PointerByReference renderManagerOpenGLOut) Deprecated.static byte
osvrDestroyRenderManager
(com.sun.jna.Pointer renderManager) todo OSVR_RenderTimingInfo
Original signature :OSVR_ReturnCode osvrDestroyRenderManager(OSVR_RenderManager)
static byte
osvrRenderManagerCreateColorBufferOpenGL
(int width, int height, int format, com.sun.jna.ptr.IntByReference colorBufferNameOut) Deprecated.static byte
osvrRenderManagerCreateColorBufferOpenGL
(int width, int height, int format, IntBuffer colorBufferNameOut) Original signature :OSVR_ReturnCode osvrRenderManagerCreateColorBufferOpenGL(GLsizei, GLsizei, GLenum, GLuint*)
static byte
osvrRenderManagerCreateDepthBufferOpenGL
(int width, int height, com.sun.jna.ptr.IntByReference depthBufferNameOut) Deprecated.static byte
osvrRenderManagerCreateDepthBufferOpenGL
(int width, int height, IntBuffer depthBufferNameOut) Original signature :OSVR_ReturnCode osvrRenderManagerCreateDepthBufferOpenGL(GLsizei, GLsizei, GLuint*)
static byte
osvrRenderManagerFinishPresentRenderBuffers
(com.sun.jna.Pointer renderManager, com.sun.jna.Pointer presentState, OSVR_RenderParams.ByValue renderParams, byte shouldFlipY) buffers for a single frame.static byte
osvrRenderManagerFinishRegisterRenderBuffers
(com.sun.jna.Pointer renderManager, com.sun.jna.Pointer registerBufferState, byte appWillNotOverwriteBeforeNewPresent) buffers for a single frame.static byte
osvrRenderManagerGetDefaultRenderParams
(OSVR_RenderParams renderParamsOut) Original signature :OSVR_ReturnCode osvrRenderManagerGetDefaultRenderParams(OSVR_RenderParams*)
static byte
osvrRenderManagerGetDoingOkay
(com.sun.jna.Pointer renderManager) Original signature :OSVR_ReturnCode osvrRenderManagerGetDoingOkay(OSVR_RenderManager)
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*)
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*)
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*)
static byte
osvrRenderManagerGetRenderInfoFromCollectionOpenGL
(com.sun.jna.Pointer renderInfoCollection, com.ochafik.lang.jnaerator.runtime.NativeSize index, OSVR_RenderInfoOpenGL renderInfoOut) Gets a given OSVR_RenderInfoOpenGL from an OSVR_RenderInfoCollection.
Original signature :OSVR_ReturnCode osvrRenderManagerGetRenderInfoFromCollectionOpenGL(OSVR_RenderInfoCollection, OSVR_RenderInfoCount, OSVR_RenderInfoOpenGL*)
static byte
osvrRenderManagerGetRenderInfoOpenGL
(com.sun.jna.Pointer renderManager, com.ochafik.lang.jnaerator.runtime.NativeSize renderInfoIndex, OSVR_RenderParams.ByValue renderParams, OSVR_RenderInfoOpenGL renderInfoOut) Original signature :OSVR_ReturnCode osvrRenderManagerGetRenderInfoOpenGL(OSVR_RenderManagerOpenGL, OSVR_RenderInfoCount, OSVR_RenderParams, OSVR_RenderInfoOpenGL*)
static byte
osvrRenderManagerOpenDisplayOpenGL
(com.sun.jna.Pointer renderManager, OSVR_OpenResultsOpenGL openResultsOut) Original signature :OSVR_ReturnCode osvrRenderManagerOpenDisplayOpenGL(OSVR_RenderManagerOpenGL, OSVR_OpenResultsOpenGL*)
static byte
osvrRenderManagerPresentRenderBufferOpenGL
(com.sun.jna.Pointer presentState, OSVR_RenderBufferOpenGL.ByValue buffer, OSVR_RenderInfoOpenGL.ByValue renderInfoUsed, OSVR_ViewportDescription.ByValue normalizedCroppingViewport) Original signature :OSVR_ReturnCode osvrRenderManagerPresentRenderBufferOpenGL(OSVR_RenderManagerPresentState, OSVR_RenderBufferOpenGL, OSVR_RenderInfoOpenGL, OSVR_ViewportDescription)
static byte
osvrRenderManagerPresentSolidColorf
(com.sun.jna.Pointer renderManager, OSVR_RGB.ByValue rgb) Original signature :OSVR_ReturnCode osvrRenderManagerPresentSolidColorf(OSVR_RenderManager, OSVR_RGB_FLOAT)
static byte
osvrRenderManagerRegisterRenderBufferOpenGL
(com.sun.jna.Pointer registerBufferState, OSVR_RenderBufferOpenGL.ByValue renderBuffer) Original signature :OSVR_ReturnCode osvrRenderManagerRegisterRenderBufferOpenGL(OSVR_RenderManagerRegisterBufferState, OSVR_RenderBufferOpenGL)
static byte
osvrRenderManagerReleaseRenderInfoCollection
(com.sun.jna.Pointer renderInfoCollection) Releases the OSVR_RenderInfoCollection.
Original signature :OSVR_ReturnCode osvrRenderManagerReleaseRenderInfoCollection(OSVR_RenderInfoCollection)
static byte
osvrRenderManagerStartPresentRenderBuffers
(com.sun.jna.ptr.PointerByReference presentStateOut) must be registered before they are presented.
Original signature :OSVR_ReturnCode osvrRenderManagerStartPresentRenderBuffers(OSVR_RenderManagerPresentState*)
static byte
osvrRenderManagerStartRegisterRenderBuffers
(com.sun.jna.ptr.PointerByReference registerBufferStateOut) must be registered before they are presented.
Original signature :OSVR_ReturnCode osvrRenderManagerStartRegisterRenderBuffers(OSVR_RenderManagerRegisterBufferState*)
-
Field Details
-
JNA_LIBRARY_NAME
- See Also:
-
JNA_NATIVE_LIB
public static final com.sun.jna.NativeLibrary JNA_NATIVE_LIB
-
-
Constructor Details
-
OsvrRenderManagerOpenGLLibrary
public OsvrRenderManagerOpenGLLibrary()
-
-
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
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) Deprecated.- 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) Deprecated.- 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) Deprecated.- 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)
-
osvrCreateRenderManagerOpenGL
@Deprecated public static byte osvrCreateRenderManagerOpenGL(com.sun.jna.Pointer clientContext, com.sun.jna.Pointer graphicsLibraryName, OSVR_GraphicsLibraryOpenGL.ByValue graphicsLibrary, com.sun.jna.ptr.PointerByReference renderManagerOut, com.sun.jna.ptr.PointerByReference renderManagerOpenGLOut) Deprecated.Original signature :OSVR_ReturnCode osvrCreateRenderManagerOpenGL(OSVR_ClientContext, const char[], OSVR_GraphicsLibraryOpenGL, OSVR_RenderManager*, OSVR_RenderManagerOpenGL*)
-
osvrCreateRenderManagerOpenGL
public static byte osvrCreateRenderManagerOpenGL(OsvrClientKitLibrary.OSVR_ClientContext clientContext, byte[] graphicsLibraryName, OSVR_GraphicsLibraryOpenGL.ByValue graphicsLibrary, com.sun.jna.ptr.PointerByReference renderManagerOut, com.sun.jna.ptr.PointerByReference renderManagerOpenGLOut) Original signature :OSVR_ReturnCode osvrCreateRenderManagerOpenGL(OSVR_ClientContext, const char[], OSVR_GraphicsLibraryOpenGL, OSVR_RenderManager*, OSVR_RenderManagerOpenGL*)
-
osvrRenderManagerGetRenderInfoOpenGL
public static byte osvrRenderManagerGetRenderInfoOpenGL(com.sun.jna.Pointer renderManager, com.ochafik.lang.jnaerator.runtime.NativeSize renderInfoIndex, OSVR_RenderParams.ByValue renderParams, OSVR_RenderInfoOpenGL renderInfoOut) Original signature :OSVR_ReturnCode osvrRenderManagerGetRenderInfoOpenGL(OSVR_RenderManagerOpenGL, OSVR_RenderInfoCount, OSVR_RenderParams, OSVR_RenderInfoOpenGL*)
-
osvrRenderManagerOpenDisplayOpenGL
public static byte osvrRenderManagerOpenDisplayOpenGL(com.sun.jna.Pointer renderManager, OSVR_OpenResultsOpenGL openResultsOut) Original signature :OSVR_ReturnCode osvrRenderManagerOpenDisplayOpenGL(OSVR_RenderManagerOpenGL, OSVR_OpenResultsOpenGL*)
-
osvrRenderManagerPresentRenderBufferOpenGL
public static byte osvrRenderManagerPresentRenderBufferOpenGL(com.sun.jna.Pointer presentState, OSVR_RenderBufferOpenGL.ByValue buffer, OSVR_RenderInfoOpenGL.ByValue renderInfoUsed, OSVR_ViewportDescription.ByValue normalizedCroppingViewport) Original signature :OSVR_ReturnCode osvrRenderManagerPresentRenderBufferOpenGL(OSVR_RenderManagerPresentState, OSVR_RenderBufferOpenGL, OSVR_RenderInfoOpenGL, OSVR_ViewportDescription)
-
osvrRenderManagerRegisterRenderBufferOpenGL
public static byte osvrRenderManagerRegisterRenderBufferOpenGL(com.sun.jna.Pointer registerBufferState, OSVR_RenderBufferOpenGL.ByValue renderBuffer) Original signature :OSVR_ReturnCode osvrRenderManagerRegisterRenderBufferOpenGL(OSVR_RenderManagerRegisterBufferState, OSVR_RenderBufferOpenGL)
-
osvrRenderManagerGetRenderInfoFromCollectionOpenGL
public static byte osvrRenderManagerGetRenderInfoFromCollectionOpenGL(com.sun.jna.Pointer renderInfoCollection, com.ochafik.lang.jnaerator.runtime.NativeSize index, OSVR_RenderInfoOpenGL renderInfoOut) Gets a given OSVR_RenderInfoOpenGL from an OSVR_RenderInfoCollection.
Original signature :OSVR_ReturnCode osvrRenderManagerGetRenderInfoFromCollectionOpenGL(OSVR_RenderInfoCollection, OSVR_RenderInfoCount, OSVR_RenderInfoOpenGL*)
-
osvrRenderManagerCreateColorBufferOpenGL
@Deprecated public static byte osvrRenderManagerCreateColorBufferOpenGL(int width, int height, int format, com.sun.jna.ptr.IntByReference colorBufferNameOut) Deprecated.Original signature :OSVR_ReturnCode osvrRenderManagerCreateColorBufferOpenGL(GLsizei, GLsizei, GLenum, GLuint*)
-
osvrRenderManagerCreateColorBufferOpenGL
public static byte osvrRenderManagerCreateColorBufferOpenGL(int width, int height, int format, IntBuffer colorBufferNameOut) Original signature :OSVR_ReturnCode osvrRenderManagerCreateColorBufferOpenGL(GLsizei, GLsizei, GLenum, GLuint*)
-
osvrRenderManagerCreateDepthBufferOpenGL
@Deprecated public static byte osvrRenderManagerCreateDepthBufferOpenGL(int width, int height, com.sun.jna.ptr.IntByReference depthBufferNameOut) Deprecated.Original signature :OSVR_ReturnCode osvrRenderManagerCreateDepthBufferOpenGL(GLsizei, GLsizei, GLuint*)
-
osvrRenderManagerCreateDepthBufferOpenGL
public static byte osvrRenderManagerCreateDepthBufferOpenGL(int width, int height, IntBuffer depthBufferNameOut) Original signature :OSVR_ReturnCode osvrRenderManagerCreateDepthBufferOpenGL(GLsizei, GLsizei, GLuint*)
-
OSVR_Projection_to_D3D(java.nio.FloatBuffer, com.jme3.system.osvr.osvrrendermanageropengl.OSVR_ProjectionMatrix.ByValue)
andOSVR_Projection_to_D3D(com.sun.jna.ptr.FloatByReference, com.jme3.system.osvr.osvrrendermanageropengl.OSVR_ProjectionMatrix.ByValue)
instead