Skip to content

Class ILLIXR::timewarp_vk

ClassList > ILLIXR > timewarp_vk

  • #include <timewarp_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 ()
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_vulkan_coordinates_in, struct illixr_framebuffer * framebuffer_array, VkExtent2D extent) override
timewarp_vk (const phonebook * pb)
virtual void update_uniforms (const BUFFER_TYPE & render_pose) override
Update the uniforms for the render pass.

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::timewarp_vk::destroy () override

Implements ILLIXR::vulkan::render_pass::destroy


function initialize

void ILLIXR::timewarp_vk::initialize () 

function partial_destroy

void ILLIXR::timewarp_vk::partial_destroy () 

function record_command_buffer

Record a command buffer for a given eye.

virtual void ILLIXR::timewarp_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::timewarp_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_vulkan_coordinates_in,
    struct  illixr_framebuffer * framebuffer_array,
    VkExtent2D extent
) override

function timewarp_vk

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

function update_uniforms

Update the uniforms for the render pass.

virtual void ILLIXR::timewarp_vk::update_uniforms (
    const  BUFFER_TYPE & render_pose
) override

Parameters:

  • render_pose For an app pass, this is the pose to use for rendering. For a timewarp pass, this is the pose previously supplied to the app pass.

Implements ILLIXR::vulkan::render_pass::update_uniforms



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