Skip to content

Class ILLIXR::openwarp_vk

ClassList > ILLIXR > openwarp_vk

  • #include <openwarp_vk.hpp>

Inherits the following classes: ILLIXR::vulkan::timewarp

Public Attributes inherited from ILLIXR::vulkan::render_pass

See ILLIXR::vulkan::render_pass

Type Name
VkPipeline pipeline_ = [**VK\_NULL\_HANDLE**](namespaceILLIXR.md#function-normalize)

Public Functions

Type Name
virtual void destroy () override
Destroy the render pass and free all Vulkan resources.
void initialize ()
virtual bool is_external () override
openwarp_vk (const phonebook * pb)
void partial_destroy ()
virtual void record_command_buffer (VkCommandBuffer commandBuffer, VkFramebuffer framebuffer, int buffer_ind, bool left) override
Record a command buffer for a given eye.
void setup (VkRenderPass render_pass, uint32_t subpass, std::shared_ptr< vulkan::buffer_pool< data_format::pose::fast_head_pose_type > > buffer_pool_, bool input_texture_external_, struct illixr_framebuffer * framebuffer_array, VkExtent2D extent) override
void update_uniforms (const data_format::pose::fast_head_pose_type & render_pose) override

Public Functions inherited from ILLIXR::vulkan::timewarp

See ILLIXR::vulkan::timewarp

Type Name
virtual void setup (VkRenderPass render_pass, uint32_t subpass, std::shared_ptr< vulkan::buffer_pool< BUFFER_TYPE > > buffer_pool, bool input_texture_vulkan_coordinates, struct illixr_framebuffer * framebuffer_array=nullptr, VkExtent2D extent={}) = 0
Setup the timewarp render pass and initailize required Vulkan resources.

Public Functions inherited from ILLIXR::vulkan::render_pass

See ILLIXR::vulkan::render_pass

Type Name
virtual void destroy ()
Destroy the render pass and free all Vulkan resources.
virtual bool is_external () = 0
virtual void record_command_buffer (VkCommandBuffer commandBuffer, VkFramebuffer framebuffer, int buffer_ind, bool left) = 0
Record a command buffer for a given eye.
virtual void update_uniforms (const BUFFER_TYPE & render_pose)
Update the uniforms for the render pass.
~render_pass () override

Public Functions inherited from ILLIXR::phonebook::service

See ILLIXR::phonebook::service

Type Name
virtual ~service () = default

Public Functions Documentation

function destroy

Destroy the render pass and free all Vulkan resources.

virtual void ILLIXR::openwarp_vk::destroy () override

Implements ILLIXR::vulkan::render_pass::destroy


function initialize

void ILLIXR::openwarp_vk::initialize () 

function is_external

virtual bool ILLIXR::openwarp_vk::is_external () override

Implements ILLIXR::vulkan::render_pass::is_external


function openwarp_vk

explicit ILLIXR::openwarp_vk::openwarp_vk (
    const  phonebook * pb
) 

function partial_destroy

void ILLIXR::openwarp_vk::partial_destroy () 

function record_command_buffer

Record a command buffer for a given eye.

virtual void ILLIXR::openwarp_vk::record_command_buffer (
    VkCommandBuffer commandBuffer,
    VkFramebuffer framebuffer,
    int buffer_ind,
    bool left
) override

Parameters:

  • commandBuffer The command buffer to record to.
  • buffer_ind The index of the buffer to use.
  • left 0 for left eye, 1 for right eye.

Implements ILLIXR::vulkan::render_pass::record_command_buffer


function setup

void ILLIXR::openwarp_vk::setup (
    VkRenderPass render_pass,
    uint32_t subpass,
    std::shared_ptr< vulkan::buffer_pool < data_format::pose::fast_head_pose_type > > buffer_pool_,
    bool input_texture_external_,
    struct  illixr_framebuffer * framebuffer_array,
    VkExtent2D extent
) override

function update_uniforms

void ILLIXR::openwarp_vk::update_uniforms (
    const  data_format::pose::fast_head_pose_type & render_pose
) override


The documentation for this class was generated from the following file /home/friedel/devel/ILLIXR/illixr_release/ILLIXR/plugins/openwarp_vk/openwarp_vk.hpp