class final
framebuffer_tdescribes a set of images to use as rendertargets
in many graphics applications you will need to use more advanced techniques than just rendering into the backbuffer (swapchain), and to do that you will need to describe a set of images to the driver that you will use as render targets. the framebuffer class is just that, and allows you to bundle together images to do postprocessing, or shadowmapping, etc...
types
classes
member-functions
Function documentation
std::vector<texture_ handle> core:: ivk:: framebuffer_t:: attachments(uint32_t index = 0u) const noexcept
Parameters | |
---|---|
index in | the index to return the attachments for. |
Returns | all attachments for a specific index |
std::vector<texture_ handle> core:: ivk:: framebuffer_t:: color_attachments(uint32_t index = 0u) const noexcept
Parameters | |
---|---|
index in | the index to return the attachments for. |
Returns | all color attachments for a specific index |
core:: resource:: handle<core:: ivk:: sampler_t> core:: ivk:: framebuffer_t:: sampler() const noexcept
Returns | the sampler resource associated with this framebuffer. |
---|
core:: resource:: handle<core:: data:: framebuffer_t> core:: ivk:: framebuffer_t:: data() const noexcept
Returns | the data used to create this framebuffer |
---|
vk::RenderPass core:: ivk:: framebuffer_t:: render_pass() const noexcept
Returns | the renderpass this framebuffer created and manages. |
---|
const std::vector<vk::Framebuffer>& core:: ivk:: framebuffer_t:: framebuffers() const noexcept
Returns | all vulkan framebuffer objects that constitute this framebuffer. |
---|
vk::DescriptorImageInfo core:: ivk:: framebuffer_t:: descriptor() const noexcept
Returns | the image descriptor. |
---|