Files
Gryphn/projects/extensions/synchronization/commands/gryphn_sync_submit.h
2025-07-18 20:58:23 -04:00

18 lines
528 B
C

#pragma once
#include "stdint.h"
#include "core/src/renderpass/gryphn_render_pass_descriptor.h"
#include "core/src/gryphn_handles.h"
typedef struct gnSubmitSyncInfo {
uint32_t waitCount;
gnRenderPassStage* waitStages;
gnSemaphoreHandle* waitSemaphores;
uint32_t signalCount;
gnSemaphoreHandle* signalSemaphores;
uint32_t commandBufferCount;
gnCommandBufferHandle* commandBuffers;
gnFenceHandle fence;
} gnSubmitSyncInfo;
gnReturnCode gnSubmitSync(gnOutputDevice device, gnSubmitSyncInfo info);