Lines Matching defs:EnumTraits
50 template <> struct EnumTraits<VkPhysicalDeviceType> { struct
51 static uint32_t min() { return VK_PHYSICAL_DEVICE_TYPE_BEGIN_RANGE; } in min()
52 static uint32_t max() { return VK_PHYSICAL_DEVICE_TYPE_END_RANGE; } in max()
53 static bool exist(uint32_t e) { return e >= min() && e <= max(); } in exist()
56 template <> struct EnumTraits<VkFormat> { struct
57 static bool exist(uint32_t e) { in exist()
293 struct EnumTraits<VkPointClippingBehavior> { struct
294 static uint32_t min() { return VK_POINT_CLIPPING_BEHAVIOR_BEGIN_RANGE; } in min()
295 static uint32_t max() { return VK_POINT_CLIPPING_BEHAVIOR_END_RANGE; } in max()
296 static bool exist(uint32_t e) { return e >= min() && e <= max(); } in exist()
300 struct EnumTraits<VkExternalFenceHandleTypeFlagBits> { struct
301 static bool exist(uint32_t e) { in exist()
314 struct EnumTraits<VkExternalSemaphoreHandleTypeFlagBits> { struct
315 static bool exist(uint32_t e) { in exist()
329 struct EnumTraits<VkDriverIdKHR> { struct
330 static uint32_t min() { return VK_DRIVER_ID_BEGIN_RANGE_KHR; } in min()
331 static uint32_t max() { return VK_DRIVER_ID_END_RANGE_KHR; } in max()
332 static bool exist(uint32_t e) { return e >= min() && e <= max(); } in exist()