Monado OpenXR Runtime
|
A render pass while not depending on a VkFramebuffer
does depend on the format of the target image(s), and other options for the render pass.
More...
#include <render/render_interface.h>
Public Member Functions | |
bool | render_gfx_render_pass_init (struct render_gfx_render_pass *rgrp, struct render_resources *r, VkFormat format, VkAttachmentLoadOp load_op, VkImageLayout final_layout) |
Creates all resources held by the render pass, does not free the struct itself. More... | |
void | render_gfx_render_pass_close (struct render_gfx_render_pass *rgrp) |
Frees all resources held by the render pass, does not free the struct itself. More... | |
Data Fields | |
struct render_resources * | r |
VkFormat | format |
The format of the image(s) we are rendering to. More... | |
VkSampleCountFlagBits | sample_count |
Sample count for this render pass. More... | |
VkAttachmentLoadOp | load_op |
Load op used on the attachment(s). More... | |
VkImageLayout | final_layout |
Final layout of the target image(s). More... | |
VkRenderPass | render_pass |
Render pass used for rendering. More... | |
struct { | |
VkPipeline pipeline | |
Pipeline layout used for mesh, without timewarp. More... | |
VkPipeline pipeline_timewarp | |
Pipeline layout used for mesh, with timewarp. More... | |
} | mesh |
struct { | |
VkPipeline cylinder_premultiplied_alpha | |
VkPipeline cylinder_unpremultiplied_alpha | |
VkPipeline equirect2_premultiplied_alpha | |
VkPipeline equirect2_unpremultiplied_alpha | |
VkPipeline proj_premultiplied_alpha | |
VkPipeline proj_unpremultiplied_alpha | |
VkPipeline quad_premultiplied_alpha | |
VkPipeline quad_unpremultiplied_alpha | |
} | layer |
A render pass while not depending on a VkFramebuffer
does depend on the format of the target image(s), and other options for the render pass.
These are used to create a VkRenderPass
, all VkFramebuffer(s)
and VkPipeline
depends on the VkRenderPass
so hang off this struct.
VkImageLayout render_gfx_render_pass::final_layout |
Final layout of the target image(s).
VkFormat render_gfx_render_pass::format |
The format of the image(s) we are rendering to.
VkAttachmentLoadOp render_gfx_render_pass::load_op |
Load op used on the attachment(s).
VkPipeline render_gfx_render_pass::pipeline |
Pipeline layout used for mesh, without timewarp.
Referenced by render_gfx_render_pass_close().
VkPipeline render_gfx_render_pass::pipeline_timewarp |
Pipeline layout used for mesh, with timewarp.
Referenced by render_gfx_render_pass_close().
VkRenderPass render_gfx_render_pass::render_pass |
Render pass used for rendering.
Referenced by render_gfx_render_pass_close().
VkSampleCountFlagBits render_gfx_render_pass::sample_count |
Sample count for this render pass.