MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ can_blit()

bool MayaFlux::Portal::Graphics::TextureLoom::can_blit ( const std::shared_ptr< Core::VKImage > &  src,
const std::shared_ptr< Core::VKImage > &  dst,
FilterMode  filter = FilterMode::LINEAR 
) const

Whether the device can blit between two images with a filter.

Definition at line 753 of file TextureLoom.cpp.

757{
758 if (!is_initialized() || !src || !dst) {
759 return false;
760 }
761
763 src->get_format(), dst->get_format(), to_blit_filter(filter));
764}
uint32_t * dst
const uint32_t * src
bool supports_blit(vk::Format src_format, vk::Format dst_format, vk::Filter filter=vk::Filter::eNearest) const
Whether a blit between two formats is supported with a filter.
Core::BackendResourceManager * m_resource_manager
bool is_initialized() const
Check if manager is initialized.

References dst, is_initialized(), m_resource_manager, src, and MayaFlux::Core::BackendResourceManager::supports_blit().

+ Here is the call graph for this function: