/** Ċ Ġ* ĠCopyright Ġ[ 2 0 1 9 ] Ġ[ Dom in ic ĠF is cher ] Ċ Ġ* Ċ Ġ* ĠLicensed Ġunder Ġthe ĠApache ĠLicense , ĠVersion Ġ 2 . 0 Ġ( the Ġ" License "); Ċ Ġ* Ġyou Ġmay Ġnot Ġuse Ġthis Ġfile Ġexcept Ġin Ġcompliance Ġwith Ġthe ĠLicense . Ċ Ġ* ĠYou Ġmay Ġobtain Ġa Ġcopy Ġof Ġthe ĠLicense Ġat Ċ Ġ* Ċ Ġ* Ġhttp :// www . apache . org / licenses / LICENSE - 2 . 0 Ċ Ġ* Ċ Ġ* ĠUnless Ġrequired Ġby Ġapplicable Ġlaw Ġor Ġagreed Ġto Ġin Ġwriting , Ġsoftware Ċ Ġ* Ġdistributed Ġunder Ġthe ĠLicense Ġis Ġdistributed Ġon Ġan Ġ" AS ĠIS " ĠBASIS , Ċ Ġ* ĠWITHOUT ĠWARRANTIES ĠOR ĠCONDITIONS ĠOF ĠANY ĠKIND , Ġeither Ġexpress Ġor Ġimplied . Ċ Ġ* ĠSee Ġthe ĠLicense Ġfor Ġthe Ġspecific Ġlanguage Ġgoverning Ġpermissions Ġand Ċ Ġ* Ġlimitations Ġunder Ġthe ĠLicense . Ċ Ġ*/ Ċ package Ġcom . k gl . v ulkan . enums Ċ Ċ import Ġcom . k gl . v ulkan . utils . Vk Enum Ċ import Ġcv ulkan .* Ċ Ċ actual Ġenum Ġclass ĠPresent Mode KHR ( override Ġval Ġvalue : ĠVk Present Mode KHR ) Ġ: ĠVk Enum < Present Mode KHR > Ġ{ Ċ ĉ IM MEDI ATE ( VK _ PRESENT _ MODE _ IM MEDI ATE _ KHR ), ĊĊ ĉ SHARED _ DE M AND _ REFRESH _ KHR ( VK _ PRESENT _ MODE _ SHARED _ DE M AND _ REFRESH _ KHR ), ĊĊ ĉ MAIL BOX ( VK _ PRESENT _ MODE _ MAIL BOX _ KHR ), ĊĊ ĉ SHARED _ CONT IN UO US _ REFRESH _ KHR ( VK _ PRESENT _ MODE _ SHARED _ CONT IN UO US _ REFRESH _ KHR ), ĊĊ ĉ FIFO ( VK _ PRESENT _ MODE _ FIFO _ KHR ), ĊĊ ĉ FIFO _ REL AX ED ( VK _ PRESENT _ MODE _ FIFO _ REL AX ED _ KHR ); ĊĊ ĉ comp anion Ġobject Ġ{ Ċĉ ĉ private Ġval Ġenum Look Up Map : ĠMap < UInt , ĠPresent Mode KHR > Ġ= Ċĉĉĉ ĉ enum Values < Present Mode KHR >(). associate By ({ Ġit . value Ġ}) ĊĊĉ ĉ fun Ġfrom ( value : ĠVk Present Mode KHR ): ĠPresent Mode KHR Ġ= Ġenum Look Up Map [ value ] !! Ċ ĉ } Ċ } ĊĊ