lib/vulkan/conversions.rb
# returns a Gem::Version from the specified numeric Vulkan packed version
# number.
returns a Gem::Version from the specified numeric Vulkan packed version
number.
returns a Gem :: Version from the specified numeric Vulkan packed version number .
def vk_parse_version(version)
      major = (version >> 22) & 0x3ff
      minor = (version >> 12) & 0x3ff
      patch = (version      ) & 0xfff
      Gem::Version.new([major, minor, patch].join('.'))
    end
def vk_parse_version ( version ) major = ( version >> 22 ) & 0x3ff minor = ( version >> 12 ) & 0x3ff patch = ( version ) & 0xfff Gem :: Version . new ( [ major , minor , patch ] . join ( '.' ) ) end
returns a Gem::Version from the specified numeric Vulkan packed version
number.
returns a Gem :: Version from the specified numeric Vulkan packed version number .
version
<not_specific>