def getInHex(self):
    if ((self.major == 1) and (self.minor == 0) and (self.patch == 0)):
        return 'VK_API_VERSION_1_0'
    elif ((self.major == 1) and (self.minor == 1) and (self.patch == 0)):
        return 'VK_API_VERSION_1_1'
    else:
        hex = (((self.major << 22) | (self.minor << 12)) | self.patch)
        return ('0x%Xu' % hex)
def getInHex(self):
    if ((self.major == 1) and (self.minor == 0) and (self.patch == 0)):
        return 'VK_API_VERSION_1_0'
    elif ((self.major == 1) and (self.minor == 1) and (self.patch == 0)):
        return 'VK_API_VERSION_1_1'
    else:
        hex = (((self.major << 22) | (self.minor << 12)) | self.patch)
        return ('0x%Xu' % hex)