Searched defs:EnumTraits (Results 1 – 1 of 1) sorted by relevance
50 template <> struct EnumTraits<VkPhysicalDeviceType> { struct51 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> { struct57 static bool exist(uint32_t e) { in exist()293 struct EnumTraits<VkPointClippingBehavior> { struct294 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()[all …]