vulkan: implement getAPIStats

This commit is contained in:
niki
2022-07-16 23:46:03 +02:00
parent 913aab0226
commit 6916182a79
6 changed files with 37 additions and 7 deletions
+4
View File
@@ -18,6 +18,10 @@ namespace love {
class Vulkan {
public:
static void shaderSwitch();
static uint32_t getNumShaderSwitches();
static void resetShaderSwitches();
static VkFormat getVulkanVertexFormat(DataFormat format);
static TextureFormat getTextureFormat(PixelFormat);
static std::string getVendorName(uint32_t vendorId);