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

◆ execute_immediate

std::function<void(std::function<void(void*)>)> MayaFlux::Registry::Service::BufferService::execute_immediate

Execute commands immediately with synchronization.

Parameters
recorderLambda that records commands into command buffer

The backend handles:

  • Command buffer allocation
  • Begin/end recording
  • Queue submission
  • Fence wait for completion

Blocks until GPU operations complete. Thread-safe.

Example: service->execute_immediate([&](CommandBuffer cmd) { // Record copy, clear, or other operations });

Definition at line 90 of file BufferService.hpp.