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

◆ upload_primary()

void MayaFlux::Buffers::DataWriteProcessor::upload_primary ( const std::shared_ptr< VKBuffer > &  vk,
std::vector< Kakshya::DataVariant > &  slots 
)
private

Definition at line 193 of file DataWriteProcessor.cpp.

194{
196 upload_vertex(vk, slots);
197 } else if (is_texture_modality(m_modality)) {
198 upload_texture(vk, slots[0]);
199 } else {
200 upload_raw(vk, slots[0]);
201 }
202}
static bool is_vertex_modality(Kakshya::DataModality m) noexcept
void upload_texture(const std::shared_ptr< VKBuffer > &vk, Kakshya::DataVariant &slot)
void upload_raw(const std::shared_ptr< VKBuffer > &vk, Kakshya::DataVariant &slot)
void upload_vertex(const std::shared_ptr< VKBuffer > &vk, std::vector< Kakshya::DataVariant > &slots)
static bool is_texture_modality(Kakshya::DataModality m) noexcept

References is_texture_modality(), is_vertex_modality(), m_modality, upload_raw(), upload_texture(), and upload_vertex().

Referenced by processing_function().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: