This class contains OpenGL specific functionality.
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static native int | novr_CreateMirrorTextureGL(long session, long desc, long out_MirrorTexture)
Unsafe version of: |
| public static native int | novr_CreateMirrorTextureWithOptionsGL(long session, long desc, long out_MirrorTexture)
Unsafe version of: |
| public static native int | novr_CreateTextureSwapChainGL(long session, long desc, long out_TextureSwapChain)
Unsafe version of: |
| public static native int | novr_GetMirrorTextureBufferGL(long session, long mirrorTexture, long out_TexId)
Unsafe version of: |
| public static native int | novr_GetMirrorTextureBufferGL(long session, long mirrorTexture, int[] out_TexId)
Array version of: |
| public static native int | novr_GetTextureSwapChainBufferGL(long session, long chain, int index, long out_TexId)
Unsafe version of: |
| public static native int | novr_GetTextureSwapChainBufferGL(long session, long chain, int index, int[] out_TexId)
Array version of: |
| public static int | Returns: anovrResult indicating success or failure. In the case of failure, use GetLastErrorInfo to get more information.an session, OVRMirrorTextureDesc ovrSession previously returned by Createthe requested mirror texture description desc, PointerBuffer returns the created out_MirrorTexture)OVRMirrorTexture, which will be valid upon a successful return value, else it will be NULL. This texture must be
eventually destroyed via DestroyMirrorTexture before destroying the session with Destroy.Deprecated. |
| public static int | Returns: anovrResult indicating success or failure. In the case of failure, use GetLastErrorInfo to get more information.an session, OVRMirrorTextureDesc ovrSession previously returned by Createspecifies the requested mirror texture description desc, PointerBuffer specifies the created out_MirrorTexture)ovrMirrorTexture, which will be valid upon a successful return value, else it will be NULL. This texture must be
eventually destroyed via DestroyMirrorTexture before destroying the session with Destroy.Creates a Mirror Texture which is auto-refreshed to mirror Rift contents produced by this application. |
| public static int | Returns: anovrResult indicating success or failure. In the case of failure, use GetLastErrorInfo to get more information.an session, OVRTextureSwapChainDesc ovrSession previously returned by Createthe requested texture properties. See notes for more info about texture format. desc, PointerBuffer returns the created out_TextureSwapChain)ovrTextureSwapChain, which will be valid upon a successful return value, else it will be NULL. This texture swap chain must
be eventually destroyed via DestroyTextureSwapChain before destroying the session with Destroy.Creates a TextureSwapChain suitable for use with OpenGL. |
| public static int | Returns: anovrResult indicating success or failure. In the case of failure, use GetLastErrorInfo to get more information.an session, long ovrSession previously returned by Createan mirrorTexture, IntBuffer OVRMirrorTexture previously returned by CreateMirrorTextureWithOptionsGLreturns the GL texture object name associated with the mirror texture out_TexId)Gets a the underlying buffer as a GL texture name. |
| public static int | ovr_GetMirrorTextureBufferGL(long session, long mirrorTexture, int[] out_TexId)
Array version of: |
| public static int | Returns: anovrResult indicating success or failure. In the case of failure, use GetLastErrorInfo to get more information.an session, long ovrSession previously returned by Createan chain, int ovrTextureSwapChain previously returned by CreateTextureSwapChainGLthe index within the chain to retrieve. Must be between 0 and length (see index, IntBuffer GetTextureSwapChainLength) or may pass -1 to get the buffer at the
CurrentIndex location. (Saving a call to GetTextureSwapChainCurrentIndex)returns the GL texture object name associated with the specific index requested out_TexId)Get a specific buffer within the chain as a GL texture name. |
| public static int | ovr_GetTextureSwapChainBufferGL(long session, long chain, int index, int[] out_TexId)
Array version of: |
| OVRGL | back to summary |
|---|---|
| protected OVRGL() | |
| novr_CreateMirrorTextureGL | back to summary |
|---|---|
| public static native int novr_CreateMirrorTextureGL(long session, long desc, long out_MirrorTexture) Unsafe version of: | |
| novr_CreateMirrorTextureWithOptionsGL | back to summary |
|---|---|
| public static native int novr_CreateMirrorTextureWithOptionsGL(long session, long desc, long out_MirrorTexture) Unsafe version of: | |
| novr_CreateTextureSwapChainGL | back to summary |
|---|---|
| public static native int novr_CreateTextureSwapChainGL(long session, long desc, long out_TextureSwapChain) Unsafe version of: | |
| novr_GetMirrorTextureBufferGL | back to summary |
|---|---|
| public static native int novr_GetMirrorTextureBufferGL(long session, long mirrorTexture, long out_TexId) Unsafe version of: | |
| novr_GetMirrorTextureBufferGL | back to summary |
|---|---|
| public static native int novr_GetMirrorTextureBufferGL(long session, long mirrorTexture, int[] out_TexId) Array version of: | |
| novr_GetTextureSwapChainBufferGL | back to summary |
|---|---|
| public static native int novr_GetTextureSwapChainBufferGL(long session, long chain, int index, long out_TexId) Unsafe version of: | |
| novr_GetTextureSwapChainBufferGL | back to summary |
|---|---|
| public static native int novr_GetTextureSwapChainBufferGL(long session, long chain, int index, int[] out_TexId) Array version of: | |
| ovr_CreateMirrorTextureGL | back to summary |
|---|---|
| public static int ovr_CreateMirrorTextureGL(long session, OVRMirrorTextureDesc desc, PointerBuffer out_MirrorTexture) Deprecated. Use Same as
| |
| ovr_CreateMirrorTextureWithOptionsGL | back to summary |
|---|---|
| public static int ovr_CreateMirrorTextureWithOptionsGL(long session, OVRMirrorTextureDesc desc, PointerBuffer out_MirrorTexture) Creates a Mirror Texture which is auto-refreshed to mirror Rift contents produced by this application. A second call to NoteThe
| |
| ovr_CreateTextureSwapChainGL | back to summary |
|---|---|
| public static int ovr_CreateTextureSwapChainGL(long session, OVRTextureSwapChainDesc desc, PointerBuffer out_TextureSwapChain) Creates a TextureSwapChain suitable for use with OpenGL. The format provided should be thought of as the format the distortion compositor will use when reading the contents of the texture. To that end, it is
highly recommended that the application requests texture swap chain formats that are in sRGB-space (e.g.
| |
| ovr_GetMirrorTextureBufferGL | back to summary |
|---|---|
| public static int ovr_GetMirrorTextureBufferGL(long session, long mirrorTexture, IntBuffer out_TexId) Gets a the underlying buffer as a GL texture name.
| |
| ovr_GetMirrorTextureBufferGL | back to summary |
|---|---|
| public static int ovr_GetMirrorTextureBufferGL(long session, long mirrorTexture, int[] out_TexId) Array version of:
| |
| ovr_GetTextureSwapChainBufferGL | back to summary |
|---|---|
| public static int ovr_GetTextureSwapChainBufferGL(long session, long chain, int index, IntBuffer out_TexId) Get a specific buffer within the chain as a GL texture name.
| |
| ovr_GetTextureSwapChainBufferGL | back to summary |
|---|---|
| public static int ovr_GetTextureSwapChainBufferGL(long session, long chain, int index, int[] out_TexId) Array version of:
| |