public class OsvrRenderManagerLibrary
extends java.lang.Object
implements com.sun.jna.Library
Modifier and Type | Class and Description |
---|---|
static interface |
OsvrRenderManagerLibrary.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 |
---|
OsvrRenderManagerLibrary() |
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)
|
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)
|
static byte |
osvrDestroyRenderManager(com.sun.jna.Pointer renderManager)
todo OSVR_RenderTimingInfo.
|
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 |
osvrRenderManagerPresentSolidColorf(com.sun.jna.Pointer renderManager,
OSVR_RGB.ByValue rgb)
Original signature :
OSVR_ReturnCode osvrRenderManagerPresentSolidColorf(OSVR_RenderManager, OSVR_RGB_FLOAT) |
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.osvrrendermanager.OSVR_ProjectionMatrix.ByValue)
and OSVR_Projection_to_OpenGL(com.sun.jna.ptr.DoubleByReference, com.jme3.system.osvr.osvrrendermanager.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.osvrrendermanager.OSVR_ProjectionMatrix.ByValue)
and OSVR_Projection_to_D3D(com.sun.jna.ptr.FloatByReference, com.jme3.system.osvr.osvrrendermanager.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.osvrrendermanager.OSVR_ProjectionMatrix.ByValue)
and OSVR_Projection_to_Unreal(com.sun.jna.ptr.FloatByReference, com.jme3.system.osvr.osvrrendermanager.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)