public class OsvrRenderManagerOpenGLLibrary
extends java.lang.Object
implements com.sun.jna.Library
Modifier and Type | Class and Description |
---|---|
static class |
OsvrRenderManagerOpenGLLibrary.OSVR_ClientContext |
static interface |
OsvrRenderManagerOpenGLLibrary.OSVR_OpenStatus
enum values
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
JNA_LIBRARY_NAME |
static com.sun.jna.NativeLibrary |
JNA_NATIVE_LIB |
Constructor and Description |
---|
OsvrRenderManagerOpenGLLibrary() |
Modifier and Type | Method and Description |
---|---|
static byte |
OSVR_Projection_to_D3D(java.nio.FloatBuffer D3D_out,
OSVR_ProjectionMatrix.ByValue projection_in) |
static byte |
OSVR_Projection_to_D3D(com.sun.jna.ptr.FloatByReference D3D_out,
OSVR_ProjectionMatrix.ByValue projection_in)
|
static byte |
OSVR_Projection_to_OpenGL(java.nio.DoubleBuffer OpenGL_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_Unreal(java.nio.FloatBuffer Unreal_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 |
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,
java.nio.IntBuffer colorBufferNameOut)
Original signature :
OSVR_ReturnCode osvrRenderManagerCreateColorBufferOpenGL(GLsizei, GLsizei, GLenum, GLuint*) |
static byte |
osvrRenderManagerCreateColorBufferOpenGL(int width,
int height,
int format,
com.sun.jna.ptr.IntByReference colorBufferNameOut)
Deprecated.
|
static byte |
osvrRenderManagerCreateDepthBufferOpenGL(int width,
int height,
java.nio.IntBuffer depthBufferNameOut)
Original signature :
OSVR_ReturnCode osvrRenderManagerCreateDepthBufferOpenGL(GLsizei, GLsizei, GLuint*) |
static byte |
osvrRenderManagerCreateDepthBufferOpenGL(int width,
int height,
com.sun.jna.ptr.IntByReference depthBufferNameOut)
Deprecated.
|
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*) |
public static final java.lang.String JNA_LIBRARY_NAME
public static final com.sun.jna.NativeLibrary JNA_NATIVE_LIB
public static byte osvrDestroyRenderManager(com.sun.jna.Pointer renderManager)
OSVR_ReturnCode osvrDestroyRenderManager(OSVR_RenderManager)
public static byte osvrRenderManagerGetNumRenderInfo(com.sun.jna.Pointer renderManager, OSVR_RenderParams.ByValue renderParams, com.ochafik.lang.jnaerator.runtime.NativeSizeByReference numRenderInfoOut)
OSVR_ReturnCode osvrRenderManagerGetNumRenderInfo(OSVR_RenderManager, OSVR_RenderParams, OSVR_RenderInfoCount*)
public static byte osvrRenderManagerGetDoingOkay(com.sun.jna.Pointer renderManager)
OSVR_ReturnCode osvrRenderManagerGetDoingOkay(OSVR_RenderManager)
public static byte osvrRenderManagerGetDefaultRenderParams(OSVR_RenderParams renderParamsOut)
OSVR_ReturnCode osvrRenderManagerGetDefaultRenderParams(OSVR_RenderParams*)
public static byte osvrRenderManagerStartPresentRenderBuffers(com.sun.jna.ptr.PointerByReference presentStateOut)
OSVR_ReturnCode osvrRenderManagerStartPresentRenderBuffers(OSVR_RenderManagerPresentState*)
public static byte osvrRenderManagerFinishPresentRenderBuffers(com.sun.jna.Pointer renderManager, com.sun.jna.Pointer presentState, OSVR_RenderParams.ByValue renderParams, byte shouldFlipY)
OSVR_ReturnCode osvrRenderManagerFinishPresentRenderBuffers(OSVR_RenderManager, OSVR_RenderManagerPresentState, OSVR_RenderParams, OSVR_CBool)
public static byte osvrRenderManagerStartRegisterRenderBuffers(com.sun.jna.ptr.PointerByReference registerBufferStateOut)
OSVR_ReturnCode osvrRenderManagerStartRegisterRenderBuffers(OSVR_RenderManagerRegisterBufferState*)
public static byte osvrRenderManagerFinishRegisterRenderBuffers(com.sun.jna.Pointer renderManager, com.sun.jna.Pointer registerBufferState, byte appWillNotOverwriteBeforeNewPresent)
OSVR_ReturnCode osvrRenderManagerFinishRegisterRenderBuffers(OSVR_RenderManager, OSVR_RenderManagerRegisterBufferState, OSVR_CBool)
public static byte osvrRenderManagerPresentSolidColorf(com.sun.jna.Pointer renderManager, OSVR_RGB.ByValue rgb)
OSVR_ReturnCode osvrRenderManagerPresentSolidColorf(OSVR_RenderManager, OSVR_RGB_FLOAT)
public static byte osvrRenderManagerGetRenderInfoCollection(com.sun.jna.Pointer renderManager, OSVR_RenderParams.ByValue renderParams, com.sun.jna.ptr.PointerByReference renderInfoCollectionOut)
OSVR_ReturnCode osvrRenderManagerGetRenderInfoCollection(OSVR_RenderManager, OSVR_RenderParams, OSVR_RenderInfoCollection*)
public static byte osvrRenderManagerReleaseRenderInfoCollection(com.sun.jna.Pointer renderInfoCollection)
OSVR_ReturnCode osvrRenderManagerReleaseRenderInfoCollection(OSVR_RenderInfoCollection)
public static byte osvrRenderManagerGetNumRenderInfoInCollection(com.sun.jna.Pointer renderInfoCollection, com.ochafik.lang.jnaerator.runtime.NativeSizeByReference countOut)
OSVR_ReturnCode osvrRenderManagerGetNumRenderInfoInCollection(OSVR_RenderInfoCollection, OSVR_RenderInfoCount*)
@Deprecated public static byte OSVR_Projection_to_OpenGL(com.sun.jna.ptr.DoubleByReference OpenGL_out, OSVR_ProjectionMatrix.ByValue projection_in)
OSVR_Projection_to_OpenGL(java.nio.DoubleBuffer, com.jme3.system.osvr.osvrrendermanageropengl.OSVR_ProjectionMatrix.ByValue)
and OSVR_Projection_to_OpenGL(com.sun.jna.ptr.DoubleByReference, com.jme3.system.osvr.osvrrendermanageropengl.OSVR_ProjectionMatrix.ByValue)
insteadOSVR_ReturnCode OSVR_Projection_to_OpenGL(double*, OSVR_ProjectionMatrix)
public static byte OSVR_Projection_to_OpenGL(java.nio.DoubleBuffer OpenGL_out, OSVR_ProjectionMatrix.ByValue projection_in)
OSVR_ReturnCode OSVR_Projection_to_OpenGL(double*, OSVR_ProjectionMatrix)
@Deprecated public static byte OSVR_Projection_to_D3D(com.sun.jna.ptr.FloatByReference D3D_out, OSVR_ProjectionMatrix.ByValue projection_in)
OSVR_Projection_to_D3D(java.nio.FloatBuffer, com.jme3.system.osvr.osvrrendermanageropengl.OSVR_ProjectionMatrix.ByValue)
and OSVR_Projection_to_D3D(com.sun.jna.ptr.FloatByReference, com.jme3.system.osvr.osvrrendermanageropengl.OSVR_ProjectionMatrix.ByValue)
insteadOSVR_ReturnCode OSVR_Projection_to_D3D(float[16], OSVR_ProjectionMatrix)
public static byte OSVR_Projection_to_D3D(java.nio.FloatBuffer D3D_out, OSVR_ProjectionMatrix.ByValue projection_in)
OSVR_ReturnCode OSVR_Projection_to_D3D(float[16], OSVR_ProjectionMatrix)
@Deprecated public static byte OSVR_Projection_to_Unreal(com.sun.jna.ptr.FloatByReference Unreal_out, OSVR_ProjectionMatrix.ByValue projection_in)
OSVR_Projection_to_Unreal(java.nio.FloatBuffer, com.jme3.system.osvr.osvrrendermanageropengl.OSVR_ProjectionMatrix.ByValue)
and OSVR_Projection_to_Unreal(com.sun.jna.ptr.FloatByReference, com.jme3.system.osvr.osvrrendermanageropengl.OSVR_ProjectionMatrix.ByValue)
insteadOSVR_ReturnCode OSVR_Projection_to_Unreal(float[16], OSVR_ProjectionMatrix)
public static byte OSVR_Projection_to_Unreal(java.nio.FloatBuffer Unreal_out, OSVR_ProjectionMatrix.ByValue projection_in)
OSVR_ReturnCode OSVR_Projection_to_Unreal(float[16], OSVR_ProjectionMatrix)
@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)
osvrCreateRenderManagerOpenGL(com.jme3.system.osvr.osvrclientkit.OsvrClientKitLibrary.OSVR_ClientContext, byte[], com.jme3.system.osvr.osvrrendermanageropengl.OSVR_GraphicsLibraryOpenGL.ByValue, com.sun.jna.ptr.PointerByReference, com.sun.jna.ptr.PointerByReference)
insteadOSVR_ReturnCode osvrCreateRenderManagerOpenGL(OSVR_ClientContext, const char[], OSVR_GraphicsLibraryOpenGL, OSVR_RenderManager*, OSVR_RenderManagerOpenGL*)
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)
OSVR_ReturnCode osvrCreateRenderManagerOpenGL(OSVR_ClientContext, const char[], OSVR_GraphicsLibraryOpenGL, OSVR_RenderManager*, OSVR_RenderManagerOpenGL*)
public static byte osvrRenderManagerGetRenderInfoOpenGL(com.sun.jna.Pointer renderManager, com.ochafik.lang.jnaerator.runtime.NativeSize renderInfoIndex, OSVR_RenderParams.ByValue renderParams, OSVR_RenderInfoOpenGL renderInfoOut)
OSVR_ReturnCode osvrRenderManagerGetRenderInfoOpenGL(OSVR_RenderManagerOpenGL, OSVR_RenderInfoCount, OSVR_RenderParams, OSVR_RenderInfoOpenGL*)
public static byte osvrRenderManagerOpenDisplayOpenGL(com.sun.jna.Pointer renderManager, OSVR_OpenResultsOpenGL openResultsOut)
OSVR_ReturnCode osvrRenderManagerOpenDisplayOpenGL(OSVR_RenderManagerOpenGL, OSVR_OpenResultsOpenGL*)
public static byte osvrRenderManagerPresentRenderBufferOpenGL(com.sun.jna.Pointer presentState, OSVR_RenderBufferOpenGL.ByValue buffer, OSVR_RenderInfoOpenGL.ByValue renderInfoUsed, OSVR_ViewportDescription.ByValue normalizedCroppingViewport)
OSVR_ReturnCode osvrRenderManagerPresentRenderBufferOpenGL(OSVR_RenderManagerPresentState, OSVR_RenderBufferOpenGL, OSVR_RenderInfoOpenGL, OSVR_ViewportDescription)
public static byte osvrRenderManagerRegisterRenderBufferOpenGL(com.sun.jna.Pointer registerBufferState, OSVR_RenderBufferOpenGL.ByValue renderBuffer)
OSVR_ReturnCode osvrRenderManagerRegisterRenderBufferOpenGL(OSVR_RenderManagerRegisterBufferState, OSVR_RenderBufferOpenGL)
public static byte osvrRenderManagerGetRenderInfoFromCollectionOpenGL(com.sun.jna.Pointer renderInfoCollection, com.ochafik.lang.jnaerator.runtime.NativeSize index, OSVR_RenderInfoOpenGL renderInfoOut)
OSVR_ReturnCode osvrRenderManagerGetRenderInfoFromCollectionOpenGL(OSVR_RenderInfoCollection, OSVR_RenderInfoCount, OSVR_RenderInfoOpenGL*)
@Deprecated public static byte osvrRenderManagerCreateColorBufferOpenGL(int width, int height, int format, com.sun.jna.ptr.IntByReference colorBufferNameOut)
osvrRenderManagerCreateColorBufferOpenGL(int, int, int, java.nio.IntBuffer)
and osvrRenderManagerCreateColorBufferOpenGL(int, int, int, com.sun.jna.ptr.IntByReference)
insteadOSVR_ReturnCode osvrRenderManagerCreateColorBufferOpenGL(GLsizei, GLsizei, GLenum, GLuint*)
public static byte osvrRenderManagerCreateColorBufferOpenGL(int width, int height, int format, java.nio.IntBuffer colorBufferNameOut)
OSVR_ReturnCode osvrRenderManagerCreateColorBufferOpenGL(GLsizei, GLsizei, GLenum, GLuint*)
@Deprecated public static byte osvrRenderManagerCreateDepthBufferOpenGL(int width, int height, com.sun.jna.ptr.IntByReference depthBufferNameOut)
osvrRenderManagerCreateDepthBufferOpenGL(int, int, java.nio.IntBuffer)
and osvrRenderManagerCreateDepthBufferOpenGL(int, int, com.sun.jna.ptr.IntByReference)
insteadOSVR_ReturnCode osvrRenderManagerCreateDepthBufferOpenGL(GLsizei, GLsizei, GLuint*)
public static byte osvrRenderManagerCreateDepthBufferOpenGL(int width, int height, java.nio.IntBuffer depthBufferNameOut)
OSVR_ReturnCode osvrRenderManagerCreateDepthBufferOpenGL(GLsizei, GLsizei, GLuint*)