|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| std::shared_ptr< Core::VKImage > MayaFlux::Portal::Graphics::TextureLoom::create_render_target | ( | uint32_t | width, |
| uint32_t | height, | ||
| ImageFormat | format = ImageFormat::RGBA8 |
||
| ) |
Create a render target (color attachment)
| width | Width in pixels |
| height | Height in pixels |
| format | Image format (default RGBA8) |
Creates image suitable for use as framebuffer color attachment. Can also be sampled in shaders after rendering.
Definition at line 206 of file TextureLoom.cpp.
References MayaFlux::Kakshya::IMAGE_COLOR, MayaFlux::Journal::ImageProcessing, MayaFlux::Core::BackendResourceManager::initialize_image(), is_initialized(), m_resource_manager, m_textures, MF_ERROR, MF_INFO, MayaFlux::Journal::Portal, MayaFlux::Core::VKImage::RENDER_TARGET, to_vulkan_format(), MayaFlux::Core::BackendResourceManager::transition_image_layout(), and MayaFlux::Core::VKImage::TYPE_2D.
Here is the call graph for this function: