This class contains Vulkan specific functionality.
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static native int | novr_CreateMirrorTextureWithOptionsVk(long session, long device, long desc, long out_MirrorTexture)
Unsafe version of: |
| public static native int | novr_CreateTextureSwapChainVk(long session, long device, long desc, long out_TextureSwapChain)
Unsafe version of: |
| public static native int | novr_GetDeviceExtensionsVk(long luid, long extensionNames, long
indicates on input the capacity of inoutExtensionNamesSize)extensionNames in chars. On output it returns the number of characters written to
extensionNames, including the terminating 0 char. In the case of this function returning Error_InsufficientArraySize, the required
inoutExtensionNamesSize is returned.Unsafe version of: |
| public static native int | novr_GetDeviceExtensionsVk(long luid, long extensionNames, int[] inoutExtensionNamesSize)
Array version of: |
| public static native int | novr_GetInstanceExtensionsVk(long luid, long extensionNames, long
indicates on input the capacity of inoutExtensionNamesSize)extensionNames in chars. On output it returns the number of characters written to
extensionNames, including the terminating 0 char. In the case of this function returning Error_InsufficientArraySize, the required
inoutExtensionNamesSize is returned.Unsafe version of: |
| public static native int | novr_GetInstanceExtensionsVk(long luid, long extensionNames, int[] inoutExtensionNamesSize)
Array version of: |
| public static native int | novr_GetMirrorTextureBufferVk(long session, long mirrorTexture, long out_Image)
Unsafe version of: |
| public static native int | novr_GetMirrorTextureBufferVk(long session, long mirrorTexture, long[] out_Image)
Array version of: |
| public static native int | novr_GetSessionPhysicalDeviceVk(long session, long luid, long instance, long out_physicalDevice)
Unsafe version of: |
| public static native int | novr_GetTextureSwapChainBufferVk(long session, long chain, int index, long out_Image)
Unsafe version of: |
| public static native int | novr_GetTextureSwapChainBufferVk(long session, long chain, int index, long[] out_Image)
Array version of: |
| public static native int | novr_SetSynchronizationQueueVk(long session, long queue)
Unsafe version of: |
| public static int | Returns: anovrResult indicating success or failure. In the case of failure, use GetLastErrorInfo to get more information.an session, VkDevice ovrSession previously returned by Createthe device, OVRMirrorTextureDesc VkDevice to create resources withspecifies requested texture properties. See notes for more info about texture format. 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.Creates 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, VkDevice ovrSession previously returned by Createthe application's device, OVRTextureSwapChainDesc VkDevice to create resources withspecifies 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 chain must
be eventually destroyed via DestroyTextureSwapChain before destroying the session with Destroy.Creates Texture Swap Chain suitable for use with Vulkan. |
| public static int | Returns: anovrResult indicating success or failure. In the case of failure, use GetLastErrorInfo to get more information. Returns
Error_InsufficientArraySize in the case that inoutExtensionNameSize didn't have enough space, in which case inoutExtensionNameSize
will return the required inoutExtensionNamesSize.specifies the luid, ByteBuffer luid for the relevant GPU, which is returned from Create.a character buffer which will receive a list of extension name strings, separated by a single space char between each extension extensionNames, IntBuffer indicates on input the capacity of inoutExtensionNamesSize)extensionNames in chars. On output it returns the number of characters written to
extensionNames, including the terminating 0 char. In the case of this function returning Error_InsufficientArraySize, the required
inoutExtensionNamesSize is returned.Gets a list of Vulkan |
| public static int | ovr_GetDeviceExtensionsVk(OVRGraphicsLuid luid, ByteBuffer extensionNames, int[] inoutExtensionNamesSize)
Array version of: |
| public static int | Returns: anovrResult indicating success or failure. In the case of failure, use GetLastErrorInfo to get more information. Returns
Error_InsufficientArraySize in the case that inoutExtensionNameSize didn't have enough space, in which case inoutExtensionNameSize
will return the required inoutExtensionNamesSize.specifies the luid, ByteBuffer luid for the relevant GPU, which is returned from Create.a character buffer which will receive a list of extension name strings, separated by a single space char between each extension extensionNames, IntBuffer indicates on input the capacity of inoutExtensionNamesSize)extensionNames in chars. On output it returns the number of characters written to
extensionNames, including the terminating 0 char. In the case of this function returning Error_InsufficientArraySize, the required
inoutExtensionNamesSize is returned.Gets a list of Vulkan |
| public static int | ovr_GetInstanceExtensionsVk(OVRGraphicsLuid luid, ByteBuffer extensionNames, int[] inoutExtensionNamesSize)
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 mirrorTexture, LongBuffer ovrMirrorTexture previously returned by CreateMirrorTextureWithOptionsVkreturns the out_Image)VkImage pointer retrievedGets the underlying mirror |
| public static int | ovr_GetMirrorTextureBufferVk(long session, long mirrorTexture, long[] out_Image)
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, OVRGraphicsLuid ovrSession previously returned by Createthe luid, VkInstance luid returned from Createa instance, PointerBuffer VkInstance to search for matching luids inreturns the out_physicalDevice)VkPhysicalDevice matching the instance and luidFinds |
| 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 CreateTextureSwapChainVkthe index within the chain to retrieve. Must be between 0 and length (see index, LongBuffer out_Image)GetTextureSwapChainLength), or may pass -1 to get the buffer at the
CurrentIndex location (saving a call to GetTextureSwapChainCurrentIndex).Gets a specific |
| public static int | ovr_GetTextureSwapChainBufferVk(long session, long chain, int index, long[] out_Image)
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, VkQueue ovrSession previously returned by Createa queue)VkQueue to add a VkFence operation to and wait onSelects |
| OVRVk | back to summary |
|---|---|
| protected OVRVk() | |
| novr_CreateMirrorTextureWithOptionsVk | back to summary |
|---|---|
| public static native int novr_CreateMirrorTextureWithOptionsVk(long session, long device, long desc, long out_MirrorTexture) Unsafe version of: | |
| novr_CreateTextureSwapChainVk | back to summary |
|---|---|
| public static native int novr_CreateTextureSwapChainVk(long session, long device, long desc, long out_TextureSwapChain) Unsafe version of: | |
| novr_GetDeviceExtensionsVk | back to summary |
|---|---|
| public static native int novr_GetDeviceExtensionsVk(long luid, long extensionNames, long inoutExtensionNamesSize) Unsafe version of:
| |
| novr_GetDeviceExtensionsVk | back to summary |
|---|---|
| public static native int novr_GetDeviceExtensionsVk(long luid, long extensionNames, int[] inoutExtensionNamesSize) Array version of: | |
| novr_GetInstanceExtensionsVk | back to summary |
|---|---|
| public static native int novr_GetInstanceExtensionsVk(long luid, long extensionNames, long inoutExtensionNamesSize) Unsafe version of:
| |
| novr_GetInstanceExtensionsVk | back to summary |
|---|---|
| public static native int novr_GetInstanceExtensionsVk(long luid, long extensionNames, int[] inoutExtensionNamesSize) Array version of: | |
| novr_GetMirrorTextureBufferVk | back to summary |
|---|---|
| public static native int novr_GetMirrorTextureBufferVk(long session, long mirrorTexture, long out_Image) Unsafe version of: | |
| novr_GetMirrorTextureBufferVk | back to summary |
|---|---|
| public static native int novr_GetMirrorTextureBufferVk(long session, long mirrorTexture, long[] out_Image) Array version of: | |
| novr_GetSessionPhysicalDeviceVk | back to summary |
|---|---|
| public static native int novr_GetSessionPhysicalDeviceVk(long session, long luid, long instance, long out_physicalDevice) Unsafe version of: | |
| novr_GetTextureSwapChainBufferVk | back to summary |
|---|---|
| public static native int novr_GetTextureSwapChainBufferVk(long session, long chain, int index, long out_Image) Unsafe version of: | |
| novr_GetTextureSwapChainBufferVk | back to summary |
|---|---|
| public static native int novr_GetTextureSwapChainBufferVk(long session, long chain, int index, long[] out_Image) Array version of: | |
| novr_SetSynchronizationQueueVk | back to summary |
|---|---|
| public static native int novr_SetSynchronizationQueueVk(long session, long queue) Unsafe version of: | |
| ovr_CreateMirrorTextureWithOptionsVk | back to summary |
|---|---|
| public static int ovr_CreateMirrorTextureWithOptionsVk(long session, VkDevice device, OVRMirrorTextureDesc desc, PointerBuffer out_MirrorTexture) Creates Mirror Texture which is auto-refreshed to mirror Rift contents produced by this application. A second call to NoteThe texture format provided in
| |
| ovr_CreateTextureSwapChainVk | back to summary |
|---|---|
| public static int ovr_CreateTextureSwapChainVk(long session, VkDevice device, OVRTextureSwapChainDesc desc, PointerBuffer out_TextureSwapChain) Creates Texture Swap Chain suitable for use with Vulkan. NoteThe texture format provided in
| |
| ovr_GetDeviceExtensionsVk | back to summary |
|---|---|
| public static int ovr_GetDeviceExtensionsVk(OVRGraphicsLuid luid, ByteBuffer extensionNames, IntBuffer inoutExtensionNamesSize) Gets a list of Vulkan Returns a list of strings delimited by a single space identifying Vulkan extensions that must be enabled in order for the VR runtime to support Vulkan-based applications. The returned list reflects the current runtime version and the GPU the VR system is currently connected to.
| |
| ovr_GetDeviceExtensionsVk | back to summary |
|---|---|
| public static int ovr_GetDeviceExtensionsVk(OVRGraphicsLuid luid, ByteBuffer extensionNames, int[] inoutExtensionNamesSize) Array version of:
| |
| ovr_GetInstanceExtensionsVk | back to summary |
|---|---|
| public static int ovr_GetInstanceExtensionsVk(OVRGraphicsLuid luid, ByteBuffer extensionNames, IntBuffer inoutExtensionNamesSize) Gets a list of Vulkan Returns a list of strings delimited by a single space identifying Vulkan extensions that must be enabled in order for the VR runtime to support Vulkan-based applications. The returned list reflects the current runtime version and the GPU the VR system is currently connected to. Example code:
| |
| ovr_GetInstanceExtensionsVk | back to summary |
|---|---|
| public static int ovr_GetInstanceExtensionsVk(OVRGraphicsLuid luid, ByteBuffer extensionNames, int[] inoutExtensionNamesSize) Array version of:
| |
| ovr_GetMirrorTextureBufferVk | back to summary |
|---|---|
| public static int ovr_GetMirrorTextureBufferVk(long session, long mirrorTexture, LongBuffer out_Image) Gets the underlying mirror
| |
| ovr_GetMirrorTextureBufferVk | back to summary |
|---|---|
| public static int ovr_GetMirrorTextureBufferVk(long session, long mirrorTexture, long[] out_Image) Array version of:
| |
| ovr_GetSessionPhysicalDeviceVk | back to summary |
|---|---|
| public static int ovr_GetSessionPhysicalDeviceVk(long session, OVRGraphicsLuid luid, VkInstance instance, PointerBuffer out_physicalDevice) Finds NoteThis function enumerates the current physical devices and returns the one matching the
| |
| ovr_GetTextureSwapChainBufferVk | back to summary |
|---|---|
| public static int ovr_GetTextureSwapChainBufferVk(long session, long chain, int index, LongBuffer out_Image) Gets a specific
| |
| ovr_GetTextureSwapChainBufferVk | back to summary |
|---|---|
| public static int ovr_GetTextureSwapChainBufferVk(long session, long chain, int index, long[] out_Image) Array version of:
| |
| ovr_SetSynchronizationQueueVk | back to summary |
|---|---|
| public static int ovr_SetSynchronizationQueueVk(long session, VkQueue queue) Selects NoteThe queue may be changed at any time but only the value at the time
| |