[{"data":1,"prerenderedAt":575},["ShallowReactive",2],{"DnxgPIfyQc":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":574,"_id":4},"VkDebugUtilsMessageSeverityFlagBitsEXT","Bitmask specifying which severities of events cause a debug messenger callback","VK_EXT_debug_utils","enums",[],{"type":10,"children":11,"toc":572},"root",[12,45,425,485,566],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,25,27,34,36,43],{"type":18,"value":19},"text","Bits which ",{"type":13,"tag":21,"props":22,"children":24},"normative",{"type":23},"can",[],{"type":18,"value":26}," be set in\n",{"type":13,"tag":28,"props":29,"children":31},"a",{"href":30},"/man/VkDebugUtilsMessengerCreateInfoEXT",[32],{"type":18,"value":33},"VkDebugUtilsMessengerCreateInfoEXT",{"type":18,"value":35},"::",{"type":13,"tag":37,"props":38,"children":40},"code",{"className":39},[],[41],{"type":18,"value":42},"messageSeverity",{"type":18,"value":44},", specifying\nevent severities which cause a debug messenger to call the callback, are:",{"type":13,"tag":46,"props":47,"children":48},"code-group",{},[49,201],{"type":13,"tag":50,"props":51,"children":57},"pre",{"className":52,"code":53,"filename":54,"language":55,"meta":56,"style":56},"language-c shiki shiki-themes github-light-default github-dark-default","typedef enum VkDebugUtilsMessageSeverityFlagBitsEXT {\n VK_DEBUG_UTILS_MESSAGE_SEVERITY_VERBOSE_BIT_EXT = 0x00000001,\n VK_DEBUG_UTILS_MESSAGE_SEVERITY_INFO_BIT_EXT = 0x00000010,\n VK_DEBUG_UTILS_MESSAGE_SEVERITY_WARNING_BIT_EXT = 0x00000100,\n VK_DEBUG_UTILS_MESSAGE_SEVERITY_ERROR_BIT_EXT = 0x00001000,\n} VkDebugUtilsMessageSeverityFlagBitsEXT;\n","C","c","",[58],{"type":13,"tag":37,"props":59,"children":60},{"__ignoreMap":56},[61,84,114,140,166,192],{"type":13,"tag":62,"props":63,"children":66},"span",{"class":64,"line":65},"line",1,[67,73,78],{"type":13,"tag":62,"props":68,"children":70},{"style":69},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[71],{"type":18,"value":72},"typedef",{"type":13,"tag":62,"props":74,"children":75},{"style":69},[76],{"type":18,"value":77}," enum",{"type":13,"tag":62,"props":79,"children":81},{"style":80},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[82],{"type":18,"value":83}," VkDebugUtilsMessageSeverityFlagBitsEXT {\n",{"type":13,"tag":62,"props":85,"children":87},{"class":64,"line":86},2,[88,93,98,103,109],{"type":13,"tag":62,"props":89,"children":90},{"style":80},[91],{"type":18,"value":92}," VK_DEBUG_UTILS_MESSAGE_SEVERITY_VERBOSE_BIT_EXT ",{"type":13,"tag":62,"props":94,"children":95},{"style":69},[96],{"type":18,"value":97},"=",{"type":13,"tag":62,"props":99,"children":100},{"style":69},[101],{"type":18,"value":102}," 0x",{"type":13,"tag":62,"props":104,"children":106},{"style":105},"--shiki-default:#0550AE;--shiki-dark:#79C0FF",[107],{"type":18,"value":108},"00000001",{"type":13,"tag":62,"props":110,"children":111},{"style":80},[112],{"type":18,"value":113},",\n",{"type":13,"tag":62,"props":115,"children":117},{"class":64,"line":116},3,[118,123,127,131,136],{"type":13,"tag":62,"props":119,"children":120},{"style":80},[121],{"type":18,"value":122}," VK_DEBUG_UTILS_MESSAGE_SEVERITY_INFO_BIT_EXT ",{"type":13,"tag":62,"props":124,"children":125},{"style":69},[126],{"type":18,"value":97},{"type":13,"tag":62,"props":128,"children":129},{"style":69},[130],{"type":18,"value":102},{"type":13,"tag":62,"props":132,"children":133},{"style":105},[134],{"type":18,"value":135},"00000010",{"type":13,"tag":62,"props":137,"children":138},{"style":80},[139],{"type":18,"value":113},{"type":13,"tag":62,"props":141,"children":143},{"class":64,"line":142},4,[144,149,153,157,162],{"type":13,"tag":62,"props":145,"children":146},{"style":80},[147],{"type":18,"value":148}," VK_DEBUG_UTILS_MESSAGE_SEVERITY_WARNING_BIT_EXT ",{"type":13,"tag":62,"props":150,"children":151},{"style":69},[152],{"type":18,"value":97},{"type":13,"tag":62,"props":154,"children":155},{"style":69},[156],{"type":18,"value":102},{"type":13,"tag":62,"props":158,"children":159},{"style":105},[160],{"type":18,"value":161},"00000100",{"type":13,"tag":62,"props":163,"children":164},{"style":80},[165],{"type":18,"value":113},{"type":13,"tag":62,"props":167,"children":169},{"class":64,"line":168},5,[170,175,179,183,188],{"type":13,"tag":62,"props":171,"children":172},{"style":80},[173],{"type":18,"value":174}," VK_DEBUG_UTILS_MESSAGE_SEVERITY_ERROR_BIT_EXT ",{"type":13,"tag":62,"props":176,"children":177},{"style":69},[178],{"type":18,"value":97},{"type":13,"tag":62,"props":180,"children":181},{"style":69},[182],{"type":18,"value":102},{"type":13,"tag":62,"props":184,"children":185},{"style":105},[186],{"type":18,"value":187},"00001000",{"type":13,"tag":62,"props":189,"children":190},{"style":80},[191],{"type":18,"value":113},{"type":13,"tag":62,"props":193,"children":195},{"class":64,"line":194},6,[196],{"type":13,"tag":62,"props":197,"children":198},{"style":80},[199],{"type":18,"value":200},"} VkDebugUtilsMessageSeverityFlagBitsEXT;\n",{"type":13,"tag":50,"props":202,"children":207},{"className":203,"code":204,"filename":205,"language":206,"meta":56,"style":56},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct DebugUtilsMessageSeverityFlagBitsEXT(u32);\nimpl DebugUtilsMessageSeverityFlagBitsEXT {\n pub const VERBOSE: Self = 0x00000001;\n pub const INFO: Self = 0x00000010;\n pub const WARNING: Self = 0x00000100;\n pub const ERROR: Self = 0x00001000;\n}\n","Rust","rs",[208],{"type":13,"tag":37,"props":209,"children":210},{"__ignoreMap":56},[211,245,262,305,342,379,416],{"type":13,"tag":62,"props":212,"children":213},{"class":64,"line":65},[214,219,224,230,235,240],{"type":13,"tag":62,"props":215,"children":216},{"style":69},[217],{"type":18,"value":218},"pub",{"type":13,"tag":62,"props":220,"children":221},{"style":69},[222],{"type":18,"value":223}," struct",{"type":13,"tag":62,"props":225,"children":227},{"style":226},"--shiki-default:#953800;--shiki-dark:#FFA657",[228],{"type":18,"value":229}," DebugUtilsMessageSeverityFlagBitsEXT",{"type":13,"tag":62,"props":231,"children":232},{"style":80},[233],{"type":18,"value":234},"(",{"type":13,"tag":62,"props":236,"children":237},{"style":226},[238],{"type":18,"value":239},"u32",{"type":13,"tag":62,"props":241,"children":242},{"style":80},[243],{"type":18,"value":244},");\n",{"type":13,"tag":62,"props":246,"children":247},{"class":64,"line":86},[248,253,257],{"type":13,"tag":62,"props":249,"children":250},{"style":69},[251],{"type":18,"value":252},"impl",{"type":13,"tag":62,"props":254,"children":255},{"style":226},[256],{"type":18,"value":229},{"type":13,"tag":62,"props":258,"children":259},{"style":80},[260],{"type":18,"value":261}," {\n",{"type":13,"tag":62,"props":263,"children":264},{"class":64,"line":116},[265,270,275,280,285,290,295,300],{"type":13,"tag":62,"props":266,"children":267},{"style":69},[268],{"type":18,"value":269}," pub",{"type":13,"tag":62,"props":271,"children":272},{"style":69},[273],{"type":18,"value":274}," const",{"type":13,"tag":62,"props":276,"children":277},{"style":105},[278],{"type":18,"value":279}," VERBOSE",{"type":13,"tag":62,"props":281,"children":282},{"style":69},[283],{"type":18,"value":284},":",{"type":13,"tag":62,"props":286,"children":287},{"style":105},[288],{"type":18,"value":289}," Self",{"type":13,"tag":62,"props":291,"children":292},{"style":69},[293],{"type":18,"value":294}," =",{"type":13,"tag":62,"props":296,"children":297},{"style":105},[298],{"type":18,"value":299}," 0x00000001",{"type":13,"tag":62,"props":301,"children":302},{"style":80},[303],{"type":18,"value":304},";\n",{"type":13,"tag":62,"props":306,"children":307},{"class":64,"line":142},[308,312,316,321,325,329,333,338],{"type":13,"tag":62,"props":309,"children":310},{"style":69},[311],{"type":18,"value":269},{"type":13,"tag":62,"props":313,"children":314},{"style":69},[315],{"type":18,"value":274},{"type":13,"tag":62,"props":317,"children":318},{"style":105},[319],{"type":18,"value":320}," INFO",{"type":13,"tag":62,"props":322,"children":323},{"style":69},[324],{"type":18,"value":284},{"type":13,"tag":62,"props":326,"children":327},{"style":105},[328],{"type":18,"value":289},{"type":13,"tag":62,"props":330,"children":331},{"style":69},[332],{"type":18,"value":294},{"type":13,"tag":62,"props":334,"children":335},{"style":105},[336],{"type":18,"value":337}," 0x00000010",{"type":13,"tag":62,"props":339,"children":340},{"style":80},[341],{"type":18,"value":304},{"type":13,"tag":62,"props":343,"children":344},{"class":64,"line":168},[345,349,353,358,362,366,370,375],{"type":13,"tag":62,"props":346,"children":347},{"style":69},[348],{"type":18,"value":269},{"type":13,"tag":62,"props":350,"children":351},{"style":69},[352],{"type":18,"value":274},{"type":13,"tag":62,"props":354,"children":355},{"style":105},[356],{"type":18,"value":357}," WARNING",{"type":13,"tag":62,"props":359,"children":360},{"style":69},[361],{"type":18,"value":284},{"type":13,"tag":62,"props":363,"children":364},{"style":105},[365],{"type":18,"value":289},{"type":13,"tag":62,"props":367,"children":368},{"style":69},[369],{"type":18,"value":294},{"type":13,"tag":62,"props":371,"children":372},{"style":105},[373],{"type":18,"value":374}," 0x00000100",{"type":13,"tag":62,"props":376,"children":377},{"style":80},[378],{"type":18,"value":304},{"type":13,"tag":62,"props":380,"children":381},{"class":64,"line":194},[382,386,390,395,399,403,407,412],{"type":13,"tag":62,"props":383,"children":384},{"style":69},[385],{"type":18,"value":269},{"type":13,"tag":62,"props":387,"children":388},{"style":69},[389],{"type":18,"value":274},{"type":13,"tag":62,"props":391,"children":392},{"style":105},[393],{"type":18,"value":394}," ERROR",{"type":13,"tag":62,"props":396,"children":397},{"style":69},[398],{"type":18,"value":284},{"type":13,"tag":62,"props":400,"children":401},{"style":105},[402],{"type":18,"value":289},{"type":13,"tag":62,"props":404,"children":405},{"style":69},[406],{"type":18,"value":294},{"type":13,"tag":62,"props":408,"children":409},{"style":105},[410],{"type":18,"value":411}," 0x00001000",{"type":13,"tag":62,"props":413,"children":414},{"style":80},[415],{"type":18,"value":304},{"type":13,"tag":62,"props":417,"children":419},{"class":64,"line":418},7,[420],{"type":13,"tag":62,"props":421,"children":422},{"style":80},[423],{"type":18,"value":424},"}\n",{"type":13,"tag":426,"props":427,"children":428},"ul",{},[429,441,452,474],{"type":13,"tag":430,"props":431,"children":432},"li",{},[433,439],{"type":13,"tag":37,"props":434,"children":436},{"className":435},[],[437],{"type":18,"value":438},"VK_DEBUG_UTILS_MESSAGE_SEVERITY_VERBOSE_BIT_EXT",{"type":18,"value":440}," specifies the most\nverbose output indicating all diagnostic messages from the Vulkan\nloader, layers, and drivers should be captured.",{"type":13,"tag":430,"props":442,"children":443},{},[444,450],{"type":13,"tag":37,"props":445,"children":447},{"className":446},[],[448],{"type":18,"value":449},"VK_DEBUG_UTILS_MESSAGE_SEVERITY_INFO_BIT_EXT",{"type":18,"value":451}," specifies an\ninformational message such as resource details that may be handy when\ndebugging an application.",{"type":13,"tag":430,"props":453,"children":454},{},[455,461,463,467,469,472],{"type":13,"tag":37,"props":456,"children":458},{"className":457},[],[459],{"type":18,"value":460},"VK_DEBUG_UTILS_MESSAGE_SEVERITY_WARNING_BIT_EXT",{"type":18,"value":462}," specifies use of\nVulkan that ",{"type":13,"tag":21,"props":464,"children":466},{"type":465},"may",[],{"type":18,"value":468}," expose an application bug.\nSuch cases may not be immediately harmful, such as a fragment shader\noutputting to a location with no attachment.\nOther cases ",{"type":13,"tag":21,"props":470,"children":471},{"type":465},[],{"type":18,"value":473}," point to behavior that is almost certainly bad when\nunintended such as using an image whose memory has not been filled.\nIn general if you see a warning but you know that the behavior is\nintended/desired, then simply ignore the warning.",{"type":13,"tag":430,"props":475,"children":476},{},[477,483],{"type":13,"tag":37,"props":478,"children":480},{"className":479},[],[481],{"type":18,"value":482},"VK_DEBUG_UTILS_MESSAGE_SEVERITY_ERROR_BIT_EXT",{"type":18,"value":484}," specifies that the\napplication has violated a valid usage condition of the specification.",{"type":13,"tag":486,"props":487,"children":488},"note",{},[489,507,512,561],{"type":13,"tag":14,"props":490,"children":491},{},[492,494,499,501,505],{"type":18,"value":493},"The values of ",{"type":13,"tag":28,"props":495,"children":497},{"href":496},"/man/VkDebugUtilsMessageSeverityFlagBitsEXT",[498],{"type":18,"value":4},{"type":18,"value":500}," are sorted based\non severity.\nThe higher the flag value, the more severe the message.\nThis allows for simple boolean operation comparisons when looking at\n",{"type":13,"tag":28,"props":502,"children":503},{"href":496},[504],{"type":18,"value":4},{"type":18,"value":506}," values.",{"type":13,"tag":14,"props":508,"children":509},{},[510],{"type":18,"value":511},"For example:",{"type":13,"tag":50,"props":513,"children":517},{"className":514,"code":515,"language":516,"meta":56,"style":56},"language-c++ shiki shiki-themes github-light-default github-dark-default"," if (messageSeverity >= VK_DEBUG_UTILS_MESSAGE_SEVERITY_WARNING_BIT_EXT) {\n // Do something for warnings and errors\n }\n","c++",[518],{"type":13,"tag":37,"props":519,"children":520},{"__ignoreMap":56},[521,544,553],{"type":13,"tag":62,"props":522,"children":523},{"class":64,"line":65},[524,529,534,539],{"type":13,"tag":62,"props":525,"children":526},{"style":69},[527],{"type":18,"value":528}," if",{"type":13,"tag":62,"props":530,"children":531},{"style":80},[532],{"type":18,"value":533}," (messageSeverity ",{"type":13,"tag":62,"props":535,"children":536},{"style":69},[537],{"type":18,"value":538},">=",{"type":13,"tag":62,"props":540,"children":541},{"style":80},[542],{"type":18,"value":543}," VK_DEBUG_UTILS_MESSAGE_SEVERITY_WARNING_BIT_EXT) {\n",{"type":13,"tag":62,"props":545,"children":546},{"class":64,"line":86},[547],{"type":13,"tag":62,"props":548,"children":550},{"style":549},"--shiki-default:#6E7781;--shiki-dark:#8B949E",[551],{"type":18,"value":552}," // Do something for warnings and errors\n",{"type":13,"tag":62,"props":554,"children":555},{"class":64,"line":116},[556],{"type":13,"tag":62,"props":557,"children":558},{"style":80},[559],{"type":18,"value":560}," }\n",{"type":13,"tag":14,"props":562,"children":563},{},[564],{"type":18,"value":565},"In addition, space has been left between the enums to allow for later\naddition of new severities in between the existing values.",{"type":13,"tag":567,"props":568,"children":569},"style",{},[570],{"type":18,"value":571},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":56,"searchDepth":86,"depth":86,"links":573},[],"markdown",1729612440938]