Class ILLIXR::vulkan::render_pass
ClassList > ILLIXR > vulkan > render_pass
Inherits the following classes: ILLIXR::phonebook::service
Inherited by the following classes: ILLIXR::vulkan::app, ILLIXR::vulkan::timewarp
Public Attributes
Type | Name |
---|---|
VkPipeline | pipeline_ = VK\_NULL\_HANDLE |
Public Functions
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 data_format::pose_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 Attributes Documentation
variable pipeline_
VkPipeline ILLIXR::vulkan::render_pass::pipeline_;
Public Functions Documentation
function destroy
Destroy the render pass and free all Vulkan resources.
inline virtual void ILLIXR::vulkan::render_pass::destroy ()
function is_external
virtual bool ILLIXR::vulkan::render_pass::is_external () = 0
function record_command_buffer
Record a command buffer for a given eye.
virtual void ILLIXR::vulkan::render_pass::record_command_buffer (
VkCommandBuffer commandBuffer,
VkFramebuffer framebuffer,
int buffer_ind,
bool left
) = 0
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.
function update_uniforms
Update the uniforms for the render pass.
inline virtual void ILLIXR::vulkan::render_pass::update_uniforms (
const data_format::pose_type & render_pose
)
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.
function ~render_pass
ILLIXR::vulkan::render_pass::~render_pass () override
The documentation for this class was generated from the following file /home/friedel/devel/ILLIXR/include/illixr/vk/render_pass.hpp