| void Spices::Renderer::RenderBehaveBuilder::UpdatePushConstant | ( | F | func, |
| VkCommandBuffer | cmdBuffer = VK_NULL_HANDLE ) |
Update local push constant buffer.
| T | Specific push constant struct Type. |
| [in] | func | A function pointer, which defines what data inside the buffer. |
| [in] | cmdBuffer | Input a VkCommandBuffer if needs, otherwise use self variable. |
@breif Create pushconstant object.
@breif Write in data
| [in] | push | pushconstant object. |
@breif Update PushConstants
Definition at line 2471 of file Renderer.h.