Vulkan interlacing on Leia devices.
More...
|
LEIA_NODISCARD LEIASDK_API struct leia_interlacer * | leia_interlacer_vulkan_initialize (struct leia_core *, struct leia_interlacer_init_configuration const *, VkDevice device, VkPhysicalDevice physicalDevice, VkFormatInt renderTargetFormat, VkFormatInt depthStencilFormat, int32_t maxInFlightFrameCount) |
| Initialize interlacer for usage with Vulkan.
|
|
LEIASDK_API void | leia_interlacer_vulkan_do_post_process (struct leia_interlacer *, int32_t width, int32_t height, leia_bool blendedInterlace, VkFramebuffer frameBuffer, VkImage colorImage, VkImage depthImage, VkSemaphore imageAvailableSemaphore, VkSemaphore renderFinishedSemaphore, int32_t currentFrame) |
| Perform Vulkan graphics rendering.
|
|
LEIASDK_API void | leia_interlacer_vulkan_set_source_views (struct leia_interlacer *, VkImage texture, VkImageView textureView, int32_t viewIndex, int layer) |
| Set Vulkan view texture.
|
|
Vulkan interlacing on Leia devices.
◆ leia_interlacer_vulkan_initialize()
Initialize interlacer for usage with Vulkan.
If your application uses Vulkan, use this method to initialize.
- Parameters
-
[in] | device | Vulkan device. |
[in] | physicalDevice | Vulkan physical device. |
[in] | renderTargetFormat | Pixel format to use for render-targets. |
[in] | depthStencilFormat | Pixel format to use for depth-stencil targets. |
[in] | maxInFlightFrameCount | Maximum number of frames rendering simultaneously. |
◆ leia_interlacer_vulkan_do_post_process()
Perform Vulkan graphics rendering.
Use this method to perform all graphics rendering - interlacing, ACT, and GUI display.
- Parameters
-
[in] | width | Width of the render-target. |
[in] | height | Height of the render-target. |
[in] | blendedInterlace | Whether to blend the graphics output onto the render-target. |
[in] | frameBuffer | Destination frame buffer for interlaced output. |
[in] | colorImage | Destination frame buffer color image. |
[in] | depthImage | Destination frame buffer depth image. |
[in] | imageAvailableSemaphore | Semaphore to wait on before rendering. |
[in] | renderFinishedSemaphore | Semaphore to signal once rendering is complete. |
[in] | currentFrame | The current frame index. |
◆ leia_interlacer_vulkan_set_source_views()
Set Vulkan view texture.
This method allows you to specify the texture for a specific view index and layer.
- Parameters
-
[in] | texture | The view texture. |
[in] | textureView | The view texture's image-view. |
[in] | viewIndex | The view index. |
[in] | layer | The layer at which to set the view texture. |