Function TRAP::Graphics::RenderCommand::SetPushConstants(std::string_view, std::span<const u8>, QueueType, const Window&)#
Function Documentation#
-
void TRAP::Graphics::RenderCommand::SetPushConstants(std::string_view name, std::span<const u8> 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.