|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| bool MayaFlux::Core::VKFramebuffer::create | ( | vk::Device | device, |
| vk::RenderPass | render_pass, | ||
| const std::vector< vk::ImageView > & | attachments, | ||
| uint32_t | width, | ||
| uint32_t | height, | ||
| uint32_t | layers = 1 |
||
| ) |
Create framebuffer.
| device | Logical device |
| render_pass | Render pass this framebuffer is compatible with |
| attachments | Image views to use as attachments (must match render pass) |
| width | Framebuffer width |
| height | Framebuffer height |
| layers | Number of layers (1 for standard 2D rendering) |
Definition at line 7 of file VKFramebuffer.cpp.
References MayaFlux::Journal::Core, MayaFlux::Journal::GraphicsBackend, m_framebuffer, m_height, m_layers, m_width, MF_ERROR, and MF_INFO.