Monado OpenXR Runtime
|
Each rendering (render_gfx) render to one or more targets (render_gfx_target_resources), the target points to one render pass and it's pipelines (render_gfx_render_pass). More...
#include <render/render_interface.h>
Public Member Functions | |
bool | render_gfx_target_resources_init (struct render_gfx_target_resources *rtr, struct render_resources *r, struct render_gfx_render_pass *rgrp, VkImageView target, VkExtent2D extent) |
Init a target resource struct, caller has to keep target alive until closed. More... | |
void | render_gfx_target_resources_close (struct render_gfx_target_resources *rtr) |
Frees all resources held by the target, does not free the struct itself. More... | |
Data Fields | |
struct render_resources * | r |
Collections of static resources. More... | |
struct render_gfx_render_pass * | rgrp |
Render pass. More... | |
VkExtent2D | extent |
VkFramebuffer | framebuffer |
Framebuffer for this target, depends on given VkImageView. More... | |
Each rendering (render_gfx) render to one or more targets (render_gfx_target_resources), the target points to one render pass and it's pipelines (render_gfx_render_pass).
It is up to the code using these to do reuse of render passes and ensure they match.
VkFramebuffer render_gfx_target_resources::framebuffer |
Framebuffer for this target, depends on given VkImageView.
Referenced by render_gfx_target_resources_close().
struct render_resources* render_gfx_target_resources::r |
Collections of static resources.
Referenced by render_gfx_target_resources_init(), and vk_from_rtr().
struct render_gfx_render_pass* render_gfx_target_resources::rgrp |