surface handles

This commit is contained in:
Greg Wells
2025-06-03 14:14:49 -04:00
parent d39f598d3c
commit fbc30509c4
21 changed files with 83 additions and 65 deletions

View File

@@ -1,11 +1,11 @@
#pragma once
#include <gryphn/gryphn_utils.h>
#include "core/gryphn_rendering_api.h"
#include "core/gryphn_handles.h"
struct gnPlatformInstance_t;
struct gnFunctions_t;
struct gnDynamicLibrary_t;
typedef struct gnDebugger_t* gnDebuggerHandle;
typedef struct gnInstanceInfo_t {
gnString applicationName;
@@ -33,8 +33,6 @@ struct gnInstance_t {
gnDebuggerHandle debugger;
};
#endif
typedef struct gnInstance_t* gnInstanceHandle;
typedef struct gnInstance_t* gnInstance;
gnReturnCode gnCreateInstance(gnInstanceHandle* instance, struct gnInstanceInfo_t info);
void gnInstanceAttachDebugger(gnInstanceHandle istance, gnDebuggerHandle debugger);