Files
Gryphn/projects/extensions/synchronization/commands/gryphn_sync_present.h
2025-07-16 13:16:18 -04:00

17 lines
508 B
C

#pragma once
#include "stdint.h"
#include "utils/gryphn_error_code.h"
#include "gryphn_handles.h"
#include "extensions/synchronization/semaphore/gryphn_semaphore.h"
typedef struct gnPresentSyncInfo {
uint32_t waitCount;
gnSemaphoreHandle* waitSemaphores;
uint32_t presentationQueueCount;
gnPresentationQueueHandle* presentationQueues;
uint32_t* imageIndices;
uint32_t queueIndex;
} gnPresentSyncInfo;
gnReturnCode gnPresentSync(gnOutputDeviceHandle device, gnPresentSyncInfo info);