[{"data":1,"prerenderedAt":186},["ShallowReactive",2],{"KVki6MtDk4":3},{"title":4,"description":5,"type":6,"xrefs":7,"body":8,"_type":185,"_id":4},"InstanceCustomIndexKHR","Custom index associated with an intersected instance","builtins",[],{"type":9,"children":10,"toc":181},"root",[11,24,54],{"type":12,"tag":13,"props":14,"children":16},"element","h6",{"id":15},"instancecustomindexkhr",[17],{"type":12,"tag":18,"props":19,"children":21},"code",{"className":20},[],[22],{"type":23,"value":4},"text",{"type":12,"tag":25,"props":26,"children":27},"p",{},[28,30,35,37,44,46,52],{"type":23,"value":29},"A variable decorated with the ",{"type":12,"tag":18,"props":31,"children":33},{"className":32},[],[34],{"type":23,"value":4},{"type":23,"value":36}," decoration will\ncontain the application-defined value of the instance that intersects the\ncurrent ray.\nThis variable contains the value that was specified in\n",{"type":12,"tag":38,"props":39,"children":41},"a",{"href":40},"/man/VkAccelerationStructureInstanceKHR",[42],{"type":23,"value":43},"VkAccelerationStructureInstanceKHR",{"type":23,"value":45},"::",{"type":12,"tag":18,"props":47,"children":49},{"className":48},[],[50],{"type":23,"value":51},"instanceCustomIndex",{"type":23,"value":53}," for the\ncurrent acceleration structure instance in the lower 24 bits and the upper 8\nbits will be zero.",{"type":12,"tag":55,"props":56,"children":58},"validity-group",{"name":57},"Valid Usage",[59,122,162],{"type":12,"tag":60,"props":61,"children":63},"validity-field",{"name":62},"VUID-InstanceCustomIndexKHR-InstanceCustomIndexKHR-04251",[64,105],{"type":12,"tag":25,"props":65,"children":66},{},[67,69,74,76,81,83,89,91,97,99],{"type":23,"value":68},"The ",{"type":12,"tag":18,"props":70,"children":72},{"className":71},[],[73],{"type":23,"value":4},{"type":23,"value":75}," decoration ",{"type":12,"tag":77,"props":78,"children":80},"normative",{"type":79},"must",[],{"type":23,"value":82}," be used only within the\n",{"type":12,"tag":18,"props":84,"children":86},{"className":85},[],[87],{"type":23,"value":88},"IntersectionKHR",{"type":23,"value":90},", ",{"type":12,"tag":18,"props":92,"children":94},{"className":93},[],[95],{"type":23,"value":96},"AnyHitKHR",{"type":23,"value":98},", or ",{"type":12,"tag":18,"props":100,"children":102},{"className":101},[],[103],{"type":23,"value":104},"ClosestHitKHR",{"type":12,"tag":25,"props":106,"children":107},{},[108,114,116],{"type":12,"tag":18,"props":109,"children":111},{"className":110},[],[112],{"type":23,"value":113},"Execution",{"type":23,"value":115}," ",{"type":12,"tag":18,"props":117,"children":119},{"className":118},[],[120],{"type":23,"value":121},"Model",{"type":12,"tag":60,"props":123,"children":125},{"name":124},"VUID-InstanceCustomIndexKHR-InstanceCustomIndexKHR-04252",[126],{"type":12,"tag":25,"props":127,"children":128},{},[129,131,136,137,140,142,148,149,155,156],{"type":23,"value":130},"The variable decorated with ",{"type":12,"tag":18,"props":132,"children":134},{"className":133},[],[135],{"type":23,"value":4},{"type":23,"value":115},{"type":12,"tag":77,"props":138,"children":139},{"type":79},[],{"type":23,"value":141}," be\ndeclared using the ",{"type":12,"tag":18,"props":143,"children":145},{"className":144},[],[146],{"type":23,"value":147},"Input",{"type":23,"value":115},{"type":12,"tag":18,"props":150,"children":152},{"className":151},[],[153],{"type":23,"value":154},"Storage",{"type":23,"value":115},{"type":12,"tag":18,"props":157,"children":159},{"className":158},[],[160],{"type":23,"value":161},"Class",{"type":12,"tag":60,"props":163,"children":165},{"name":164},"VUID-InstanceCustomIndexKHR-InstanceCustomIndexKHR-04253",[166],{"type":12,"tag":25,"props":167,"children":168},{},[169,170,175,176,179],{"type":23,"value":130},{"type":12,"tag":18,"props":171,"children":173},{"className":172},[],[174],{"type":23,"value":4},{"type":23,"value":115},{"type":12,"tag":77,"props":177,"children":178},{"type":79},[],{"type":23,"value":180}," be\ndeclared as a scalar 32-bit integer value",{"title":182,"searchDepth":183,"depth":183,"links":184},"",2,[],"markdown",1729612424960]