[{"data":1,"prerenderedAt":190},["ShallowReactive",2],{"XaUlEen5gg":3},{"title":4,"description":5,"type":6,"xrefs":7,"body":8,"_type":189,"_id":4},"HitKindKHR","Kind of hit that triggered an any-hit or closest hit ray shader","builtins",[],{"type":9,"children":10,"toc":185},"root",[11,24,69],{"type":12,"tag":13,"props":14,"children":16},"element","h6",{"id":15},"hitkindkhr",[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,43,45,51,53,59,61,67],{"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 describe the\nintersection that triggered the execution of the current shader.\nThe values are determined by the intersection shader.\nFor user-defined intersection shaders this is the value that was passed to\nthe ",{"type":12,"tag":18,"props":38,"children":40},{"className":39},[],[41],{"type":23,"value":42},"Hit Kind",{"type":23,"value":44}," operand of ",{"type":12,"tag":18,"props":46,"children":48},{"className":47},[],[49],{"type":23,"value":50},"OpReportIntersectionKHR",{"type":23,"value":52},".\nFor triangle intersection candidates, this will be one of\n",{"type":12,"tag":18,"props":54,"children":56},{"className":55},[],[57],{"type":23,"value":58},"HitKindFrontFacingTriangleKHR",{"type":23,"value":60}," or ",{"type":12,"tag":18,"props":62,"children":64},{"className":63},[],[65],{"type":23,"value":66},"HitKindBackFacingTriangleKHR",{"type":23,"value":68},".",{"type":12,"tag":70,"props":71,"children":73},"validity-group",{"name":72},"Valid Usage",[74,126,166],{"type":12,"tag":75,"props":76,"children":78},"validity-field",{"name":77},"VUID-HitKindKHR-HitKindKHR-04242",[79],{"type":12,"tag":25,"props":80,"children":81},{},[82,84,89,91,96,98,104,105,111,113,119,120],{"type":23,"value":83},"The ",{"type":12,"tag":18,"props":85,"children":87},{"className":86},[],[88],{"type":23,"value":4},{"type":23,"value":90}," decoration ",{"type":12,"tag":92,"props":93,"children":95},"normative",{"type":94},"must",[],{"type":23,"value":97}," be used only within the\n",{"type":12,"tag":18,"props":99,"children":101},{"className":100},[],[102],{"type":23,"value":103},"AnyHitKHR",{"type":23,"value":60},{"type":12,"tag":18,"props":106,"children":108},{"className":107},[],[109],{"type":23,"value":110},"ClosestHitKHR",{"type":23,"value":112}," ",{"type":12,"tag":18,"props":114,"children":116},{"className":115},[],[117],{"type":23,"value":118},"Execution",{"type":23,"value":112},{"type":12,"tag":18,"props":121,"children":123},{"className":122},[],[124],{"type":23,"value":125},"Model",{"type":12,"tag":75,"props":127,"children":129},{"name":128},"VUID-HitKindKHR-HitKindKHR-04243",[130],{"type":12,"tag":25,"props":131,"children":132},{},[133,135,140,141,144,146,152,153,159,160],{"type":23,"value":134},"The variable decorated with ",{"type":12,"tag":18,"props":136,"children":138},{"className":137},[],[139],{"type":23,"value":4},{"type":23,"value":112},{"type":12,"tag":92,"props":142,"children":143},{"type":94},[],{"type":23,"value":145}," be declared using the\n",{"type":12,"tag":18,"props":147,"children":149},{"className":148},[],[150],{"type":23,"value":151},"Input",{"type":23,"value":112},{"type":12,"tag":18,"props":154,"children":156},{"className":155},[],[157],{"type":23,"value":158},"Storage",{"type":23,"value":112},{"type":12,"tag":18,"props":161,"children":163},{"className":162},[],[164],{"type":23,"value":165},"Class",{"type":12,"tag":75,"props":167,"children":169},{"name":168},"VUID-HitKindKHR-HitKindKHR-04244",[170],{"type":12,"tag":25,"props":171,"children":172},{},[173,174,179,180,183],{"type":23,"value":134},{"type":12,"tag":18,"props":175,"children":177},{"className":176},[],[178],{"type":23,"value":4},{"type":23,"value":112},{"type":12,"tag":92,"props":181,"children":182},{"type":94},[],{"type":23,"value":184}," be declared as a\nscalar 32-bit integer value",{"title":186,"searchDepth":187,"depth":187,"links":188},"",2,[],"markdown",1725732531564]