Update local push constant buffer Async.
@breif Create pushconstant object.
2504 {
2506
2511
2516 func(push);
2517
2518 std::stringstream ss;
2520
2525 vkCmdPushConstants(
2526 cmdBuffer,
2528 VK_SHADER_STAGE_ALL,
2529 0,
2530 sizeof(T),
2531 &push
2532 );
2533 });
2534 }
#define SPICES_PROFILE_ZONE
std::shared_ptr< RendererSubPass > m_HandledSubPass
Handled Sub pass.
uint32_t m_SubPassIndex
Current subPass Index.
Renderer * m_Renderer
Specific Renderer pointer. Passed while this class instanced.
VkCommandBuffer m_CommandBuffer
Current CommandBuffer.
std::string m_RendererName
Specific renderer name, Passed by instanced.
std::future< VkCommandBuffer > SubmitCmdsParallel(VkCommandBuffer primaryCmdBuffer, uint32_t subPass, F &&func)
Submit a group of commands to secondary command buffer, and execute all of them.
scl::thread_unordered_map< std::string, std::shared_ptr< VulkanPipeline > > m_Pipelines
Renderer stored material pipelines.