update some loader stuff
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#include "stdint.h"
|
#include "stdint.h"
|
||||||
#include "utils/gryphn_error_code.h"
|
#include "core/gryphn_error_code.h"
|
||||||
#include "gryphn_handles.h"
|
#include "gryphn_handles.h"
|
||||||
|
|
||||||
typedef struct gnRenderPassInfo gnRenderPassInfo;
|
typedef struct gnRenderPassInfo gnRenderPassInfo;
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#include "stdint.h"
|
#include "stdint.h"
|
||||||
#include "stdlib.h"
|
#include "stdlib.h"
|
||||||
#include "utils/gryphn_error_code.h"
|
#include "core/gryphn_error_code.h"
|
||||||
#include "gryphn_handles.h"
|
#include "gryphn_handles.h"
|
||||||
|
|
||||||
typedef struct gnPresentationQueueInfo gnPresentationQueueInfo;
|
typedef struct gnPresentationQueueInfo gnPresentationQueueInfo;
|
||||||
|
@@ -1,10 +1,10 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#include "stdint.h"
|
#include "stdint.h"
|
||||||
#include "utils/gryphn_error_code.h"
|
#include "core/gryphn_error_code.h"
|
||||||
#include "utils/gryphn_bool.h"
|
#include "utils/gryphn_bool.h"
|
||||||
#include "gryphn_handles.h"
|
#include "gryphn_handles.h"
|
||||||
|
|
||||||
typedef struct gnInstanceInfo gnInstanceInfo;
|
typedef struct gnInstanceCreateInfo gnInstanceCreateInfo;
|
||||||
typedef struct gnSurfaceDetails gnSurfaceDetails;
|
typedef struct gnSurfaceDetails gnSurfaceDetails;
|
||||||
typedef struct gnOutputDeviceInfo gnOutputDeviceInfo;
|
typedef struct gnOutputDeviceInfo gnOutputDeviceInfo;
|
||||||
|
|
||||||
@@ -19,7 +19,7 @@ typedef struct gnOutputDeviceInfo gnOutputDeviceInfo;
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef struct gnInstanceFunctions {
|
typedef struct gnInstanceFunctions {
|
||||||
gnReturnCode (*_gnCreateInstance)(gnInstanceHandle instance, gnInstanceInfo info);
|
gnReturnCode (*_gnCreateInstance)(gnInstanceHandle instance, gnInstanceCreateInfo* info);
|
||||||
void (*_gnDestroyInstance)(gnInstanceHandle instance);
|
void (*_gnDestroyInstance)(gnInstanceHandle instance);
|
||||||
|
|
||||||
gnPhysicalDevice* (*_gnGetPhysicalDevices)(gnInstanceHandle instance, uint32_t* count);
|
gnPhysicalDevice* (*_gnGetPhysicalDevices)(gnInstanceHandle instance, uint32_t* count);
|
||||||
|
@@ -31,3 +31,4 @@ void resetLayer(gnInstance instance);
|
|||||||
|
|
||||||
|
|
||||||
gnSyncExtFunctions loadAPISyncFunctions(gnRenderingAPI api);
|
gnSyncExtFunctions loadAPISyncFunctions(gnRenderingAPI api);
|
||||||
|
gnQueueExtFunctions loadAPIQueueFunctions(gnRenderingAPI api);
|
||||||
|
Reference in New Issue
Block a user