Template Function TRAP::Graphics::RenderCommand::SetPushConstants(std::string_view, const T&, QueueType, const Window&)#
Function Documentation#
-
template<typename T>
void TRAP::Graphics::RenderCommand::SetPushConstants(std::string_view name, const T &data, QueueType queueType = QueueType::Graphics, const Window &window = *TRAP::Application::GetWindow())# Set push constant for the given window.
Remark
Headless mode: This function is not available in headless mode.
Warning
: The minimum guaranteed size from the specification is 128 bytes, everything beyond is hardware dependent.