ISubCommandBuffer::record - dpw105f18/papago-api GitHub Wiki

Record commands for rendering to image

void record(
  IRenderPass& renderpass, 
  std::function<void(IRecordingSubCommandBuffer&)> func)

Parameters

Parameter Description
renderpass IRenderpass describing the render state.
func Lambda expression to record commands. Please see IRecordingSubCommandBuffer.