Check if size is in range
| 137 | |
| 138 | // Check if size is in range |
| 139 | static inline bool IsBetweenInclusive(VkDeviceSize value, VkDeviceSize min, VkDeviceSize max) { |
| 140 | return (value >= min) && (value <= max); |
| 141 | } |
| 142 | |
| 143 | static inline bool IsBetweenInclusive(const VkExtent2D& value, const VkExtent2D& min, const VkExtent2D& max) { |
| 144 | return IsBetweenInclusive(value.width, min.width, max.width) && IsBetweenInclusive(value.height, min.height, max.height); |
no outgoing calls
no test coverage detected