Class VKUtil



  • public final class VKUtil
    extends java.lang.Object
    Vulkan utilities.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static int VK_MAKE_VERSION(int major, int minor, int patch)
      Returns the major version number from the specified Vulkan API version.
      static int VK_VERSION_MAJOR(int apiVersion)
      Returns the major version number from the specified Vulkan API version.
      static int VK_VERSION_MINOR(int apiVersion)
      Returns the minor version number from the specified Vulkan API version.
      static int VK_VERSION_PATCH(int apiVersion)
      Returns the patch version number from the specified Vulkan API version.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • VK_MAKE_VERSION

        public static int VK_MAKE_VERSION(int major,
                                          int minor,
                                          int patch)
        Returns the major version number from the specified Vulkan API version.
      • VK_VERSION_MAJOR

        public static int VK_VERSION_MAJOR(int apiVersion)
        Returns the major version number from the specified Vulkan API version.
      • VK_VERSION_MINOR

        public static int VK_VERSION_MINOR(int apiVersion)
        Returns the minor version number from the specified Vulkan API version.
      • VK_VERSION_PATCH

        public static int VK_VERSION_PATCH(int apiVersion)
        Returns the patch version number from the specified Vulkan API version.