physical device features function and struct

This commit is contained in:
Gregory Wells
2025-09-17 13:45:42 -04:00
parent 6f278affc6
commit 7ace503ab0

View File

@@ -29,12 +29,18 @@ typedef struct gnPhysicalDeviceProperties {
} gnPhysicalDeviceProperties; } gnPhysicalDeviceProperties;
typedef struct gnPhysicalDeviceFeatures { typedef struct gnPhysicalDeviceFeatures {
gnMultisampleCountFlags maxColorSamples, maxDepthSamples; gnBool uint32Index;
uint32_t maxMemoryAllocations; gnBool geometryShader;
uint32_t maxPushConstantSize; gnBool tessellationShader;
gnBool multiDrawIndirect;
gnBool drawIndirectFirstInstance;
gnBool fillModeNonSolid;
gnBool wideLines;
gnBool largePoints;
gnBool samplerAnisotropy;
} gnPhysicalDeviceFeatures; } gnPhysicalDeviceFeatures;
// gnPhysicalDeviceProperties gnQueryPhysicalDeviceFeatures(gnInstanceHandle instance, gn); gnPhysicalDeviceProperties gnQueryPhysicalDeviceFeatures(gnInstanceHandle instance, gnPhysicalDeviceHandle device);
gnPhysicalDeviceProperties gnQueryPhysicalDeviceProperties(gnInstanceHandle instance, gnPhysicalDeviceHandle handle); gnPhysicalDeviceProperties gnQueryPhysicalDeviceProperties(gnInstanceHandle instance, gnPhysicalDeviceHandle device);
gnBool gnPhysicalDeviceCanPresentToSurface(gnInstance instance, gnPhysicalDeviceHandle device, gnWindowSurfaceHandle windowSurface); gnBool gnPhysicalDeviceCanPresentToSurface(gnInstance instance, gnPhysicalDeviceHandle device, gnWindowSurfaceHandle windowSurface);