[{"data":1,"prerenderedAt":324},["ShallowReactive",2],{"wdjKPhwftj":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":323,"_id":4},"VkShaderCodeTypeEXT","Indicate a shader code type","VK_EXT_shader_object","enums",[],{"type":10,"children":11,"toc":321},"root",[12,45,288,315],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,25,27,34,36,43],{"type":18,"value":19},"text","Shader objects ",{"type":13,"tag":21,"props":22,"children":24},"normative",{"type":23},"can",[],{"type":18,"value":26}," be created using different types of shader code.\nPossible values of ",{"type":13,"tag":28,"props":29,"children":31},"a",{"href":30},"/man/VkShaderCreateInfoEXT",[32],{"type":18,"value":33},"VkShaderCreateInfoEXT",{"type":18,"value":35},"::",{"type":13,"tag":37,"props":38,"children":40},"code",{"className":39},[],[41],{"type":18,"value":42},"codeType",{"type":18,"value":44},", are:",{"type":13,"tag":46,"props":47,"children":48},"code-group",{},[49,140],{"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 VkShaderCodeTypeEXT {\n VK_SHADER_CODE_TYPE_BINARY_EXT = 0,\n VK_SHADER_CODE_TYPE_SPIRV_EXT = 1,\n} VkShaderCodeTypeEXT;\n","C","c","",[58],{"type":13,"tag":37,"props":59,"children":60},{"__ignoreMap":56},[61,84,109,131],{"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}," VkShaderCodeTypeEXT {\n",{"type":13,"tag":62,"props":85,"children":87},{"class":64,"line":86},2,[88,93,98,104],{"type":13,"tag":62,"props":89,"children":90},{"style":80},[91],{"type":18,"value":92}," VK_SHADER_CODE_TYPE_BINARY_EXT ",{"type":13,"tag":62,"props":94,"children":95},{"style":69},[96],{"type":18,"value":97},"=",{"type":13,"tag":62,"props":99,"children":101},{"style":100},"--shiki-default:#0550AE;--shiki-dark:#79C0FF",[102],{"type":18,"value":103}," 0",{"type":13,"tag":62,"props":105,"children":106},{"style":80},[107],{"type":18,"value":108},",\n",{"type":13,"tag":62,"props":110,"children":112},{"class":64,"line":111},3,[113,118,122,127],{"type":13,"tag":62,"props":114,"children":115},{"style":80},[116],{"type":18,"value":117}," VK_SHADER_CODE_TYPE_SPIRV_EXT ",{"type":13,"tag":62,"props":119,"children":120},{"style":69},[121],{"type":18,"value":97},{"type":13,"tag":62,"props":123,"children":124},{"style":100},[125],{"type":18,"value":126}," 1",{"type":13,"tag":62,"props":128,"children":129},{"style":80},[130],{"type":18,"value":108},{"type":13,"tag":62,"props":132,"children":134},{"class":64,"line":133},4,[135],{"type":13,"tag":62,"props":136,"children":137},{"style":80},[138],{"type":18,"value":139},"} VkShaderCodeTypeEXT;\n",{"type":13,"tag":50,"props":141,"children":146},{"className":142,"code":143,"filename":144,"language":145,"meta":56,"style":56},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct ShaderCodeTypeEXT(u32);\nimpl ShaderCodeTypeEXT {\n pub const BINARY: Self = 0;\n pub const SPIRV: Self = 1;\n}\n","Rust","rs",[147],{"type":13,"tag":37,"props":148,"children":149},{"__ignoreMap":56},[150,184,201,243,279],{"type":13,"tag":62,"props":151,"children":152},{"class":64,"line":65},[153,158,163,169,174,179],{"type":13,"tag":62,"props":154,"children":155},{"style":69},[156],{"type":18,"value":157},"pub",{"type":13,"tag":62,"props":159,"children":160},{"style":69},[161],{"type":18,"value":162}," struct",{"type":13,"tag":62,"props":164,"children":166},{"style":165},"--shiki-default:#953800;--shiki-dark:#FFA657",[167],{"type":18,"value":168}," ShaderCodeTypeEXT",{"type":13,"tag":62,"props":170,"children":171},{"style":80},[172],{"type":18,"value":173},"(",{"type":13,"tag":62,"props":175,"children":176},{"style":165},[177],{"type":18,"value":178},"u32",{"type":13,"tag":62,"props":180,"children":181},{"style":80},[182],{"type":18,"value":183},");\n",{"type":13,"tag":62,"props":185,"children":186},{"class":64,"line":86},[187,192,196],{"type":13,"tag":62,"props":188,"children":189},{"style":69},[190],{"type":18,"value":191},"impl",{"type":13,"tag":62,"props":193,"children":194},{"style":165},[195],{"type":18,"value":168},{"type":13,"tag":62,"props":197,"children":198},{"style":80},[199],{"type":18,"value":200}," {\n",{"type":13,"tag":62,"props":202,"children":203},{"class":64,"line":111},[204,209,214,219,224,229,234,238],{"type":13,"tag":62,"props":205,"children":206},{"style":69},[207],{"type":18,"value":208}," pub",{"type":13,"tag":62,"props":210,"children":211},{"style":69},[212],{"type":18,"value":213}," const",{"type":13,"tag":62,"props":215,"children":216},{"style":100},[217],{"type":18,"value":218}," BINARY",{"type":13,"tag":62,"props":220,"children":221},{"style":69},[222],{"type":18,"value":223},":",{"type":13,"tag":62,"props":225,"children":226},{"style":100},[227],{"type":18,"value":228}," Self",{"type":13,"tag":62,"props":230,"children":231},{"style":69},[232],{"type":18,"value":233}," =",{"type":13,"tag":62,"props":235,"children":236},{"style":100},[237],{"type":18,"value":103},{"type":13,"tag":62,"props":239,"children":240},{"style":80},[241],{"type":18,"value":242},";\n",{"type":13,"tag":62,"props":244,"children":245},{"class":64,"line":133},[246,250,254,259,263,267,271,275],{"type":13,"tag":62,"props":247,"children":248},{"style":69},[249],{"type":18,"value":208},{"type":13,"tag":62,"props":251,"children":252},{"style":69},[253],{"type":18,"value":213},{"type":13,"tag":62,"props":255,"children":256},{"style":100},[257],{"type":18,"value":258}," SPIRV",{"type":13,"tag":62,"props":260,"children":261},{"style":69},[262],{"type":18,"value":223},{"type":13,"tag":62,"props":264,"children":265},{"style":100},[266],{"type":18,"value":228},{"type":13,"tag":62,"props":268,"children":269},{"style":69},[270],{"type":18,"value":233},{"type":13,"tag":62,"props":272,"children":273},{"style":100},[274],{"type":18,"value":126},{"type":13,"tag":62,"props":276,"children":277},{"style":80},[278],{"type":18,"value":242},{"type":13,"tag":62,"props":280,"children":282},{"class":64,"line":281},5,[283],{"type":13,"tag":62,"props":284,"children":285},{"style":80},[286],{"type":18,"value":287},"}\n",{"type":13,"tag":289,"props":290,"children":291},"ul",{},[292,304],{"type":13,"tag":293,"props":294,"children":295},"li",{},[296,302],{"type":13,"tag":37,"props":297,"children":299},{"className":298},[],[300],{"type":18,"value":301},"VK_SHADER_CODE_TYPE_BINARY_EXT",{"type":18,"value":303}," specifies shader code in an opaque,\nimplementation-defined binary format specific to the physical device.",{"type":13,"tag":293,"props":305,"children":306},{},[307,313],{"type":13,"tag":37,"props":308,"children":310},{"className":309},[],[311],{"type":18,"value":312},"VK_SHADER_CODE_TYPE_SPIRV_EXT",{"type":18,"value":314}," specifies shader code in SPIR-V\nformat.",{"type":13,"tag":316,"props":317,"children":318},"style",{},[319],{"type":18,"value":320},"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":322},[],"markdown",1729612480509]