Class ILLIXR::vkdemo
#include <service.hpp>
Inherits the following classes: ILLIXR::vulkan::app
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 |
| 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 > > _) override |
| virtual void | update_uniforms (const BUFFER_TYPE & render_pose) override Update the uniforms for the render pass. |
| vkdemo (const phonebook *const pb) |
Public Functions inherited from ILLIXR::vulkan::app
| Type | Name |
|---|---|
| virtual void | setup (VkRenderPass render_pass, uint32_t subpass, std::shared_ptr< buffer_pool< data_format::pose::fast_head_pose_type > > buffer_pool) = 0 Setup the app 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::vkdemo::destroy () override
Implements ILLIXR::vulkan::render_pass::destroy
function initialize
void ILLIXR::vkdemo::initialize ()
function is_external
inline virtual bool ILLIXR::vkdemo::is_external () override
Implements ILLIXR::vulkan::render_pass::is_external
function record_command_buffer
Record a command buffer for a given eye.
virtual void ILLIXR::vkdemo::record_command_buffer (
VkCommandBuffer commandBuffer,
VkFramebuffer framebuffer,
int buffer_ind,
bool left
) override
Parameters:
commandBufferThe command buffer to record to.buffer_indThe index of the buffer to use.left0 for left eye, 1 for right eye.
Implements ILLIXR::vulkan::render_pass::record_command_buffer
function setup
void ILLIXR::vkdemo::setup (
VkRenderPass render_pass,
uint32_t subpass,
std::shared_ptr< vulkan::buffer_pool < data_format::pose::fast_head_pose_type > > _
) override
function update_uniforms
Update the uniforms for the render pass.
virtual void ILLIXR::vkdemo::update_uniforms (
const BUFFER_TYPE & render_pose
) override
Parameters:
render_poseFor 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
function vkdemo
explicit ILLIXR::vkdemo::vkdemo (
const phonebook * const pb
)
The documentation for this class was generated from the following file /home/friedel/devel/ILLIXR/illixr_release/ILLIXR/services/vkdemo/service.hpp