write all new functions headers
This commit is contained in:
@@ -26,8 +26,9 @@ typedef gnBool (*PFN_gnIsInstanceSuitable)(gnInstanceHandle, gnSuitableField, gr
|
||||
typedef gnReturnCode (*PFN_gnInstanceQueryDevices)(gnInstanceHandle, uint32_t*, gnPhysicalDeviceHandle*, gryphnInstanceFunctionLayers*);
|
||||
typedef void (*PFN_gnDestroyInstance)(gnInstanceHandle, gryphnInstanceFunctionLayers*, gnAllocators*);
|
||||
|
||||
typedef gnPhysicalDeviceProperties (*PFN_gnQueryPhysicalDeviceFeatures)(gnInstanceHandle, gnPhysicalDeviceHandle, gryphnInstanceFunctionLayers*);
|
||||
typedef gnPhysicalDeviceProperties (*PFN_gnQueryPhysicalDeviceProperties)(gnInstance, gnPhysicalDeviceHandle, gryphnInstanceFunctionLayers*);
|
||||
typedef gnPhysicalDeviceProperties (*PFN_gnQueryPhysicalDeviceFeatures)(gnInstanceHandle, gnPhysicalDeviceHandle, gryphnInstanceFunctionLayers*);
|
||||
typedef gnPhysicalDeviceProperties (*PFN_gnQueryPhysicalDeviceLimits)(gnInstanceHandle, gnPhysicalDeviceHandle, gryphnInstanceFunctionLayers*);
|
||||
|
||||
typedef struct gnInstanceFunctions {
|
||||
gnBool (*_gnPhysicalDeviceCanPresentToSurface)(gnPhysicalDevice device, gnWindowSurfaceHandle windowSurface);
|
||||
|
@@ -20,6 +20,7 @@ typedef struct gryphnInstanceFunctionLayers {
|
||||
PFN_gnDestroyInstance destroyInstance;
|
||||
PFN_gnQueryPhysicalDeviceFeatures getPhysicalDeviceFeatures;
|
||||
PFN_gnQueryPhysicalDeviceProperties getPhysicalDeviceProperties;
|
||||
PFN_gnQueryPhysicalDeviceLimits getPhysicalDeviceLimits;
|
||||
struct gryphnInstanceFunctionLayers* next;
|
||||
} gryphnInstanceFunctionLayers;
|
||||
|
||||
|
Reference in New Issue
Block a user