[{"data":1,"prerenderedAt":228},["ShallowReactive",2],{"NtbuirxLXi":3},{"title":4,"description":5,"type":6,"xrefs":7,"body":8,"_type":227,"_id":4},"HitTriangleVertexPositionsKHR","Vertices of an intersected triangle","builtins",[],{"type":9,"children":10,"toc":223},"root",[11,24,46],{"type":12,"tag":13,"props":14,"children":16},"element","h6",{"id":15},"hittrianglevertexpositionskhr",[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],{"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\nwill specify the object space vertices of the triangle at the current\nintersection in application-provided order.\nThe positions returned are transformed by the geometry transform, which is\nperformed at standard ",{"type":12,"tag":38,"props":39,"children":41},"a",{"href":40},"/chapters/fundamentals#fundamentals-floating-point",[42],{"type":23,"value":43},"floating-point",{"type":23,"value":45},"\nprecision, but without a specifically defined order of floating-point\noperations to perform the matrix multiplication.",{"type":12,"tag":47,"props":48,"children":50},"validity-group",{"name":49},"Valid Usage",[51,104,144,163,203],{"type":12,"tag":52,"props":53,"children":55},"validity-field",{"name":54},"VUID-HitTriangleVertexPositionsKHR-HitTriangleVertexPositionsKHR-08747",[56],{"type":12,"tag":25,"props":57,"children":58},{},[59,61,66,68,73,75,81,83,89,91,97,98],{"type":23,"value":60},"The ",{"type":12,"tag":18,"props":62,"children":64},{"className":63},[],[65],{"type":23,"value":4},{"type":23,"value":67}," decoration ",{"type":12,"tag":69,"props":70,"children":72},"normative",{"type":71},"must",[],{"type":23,"value":74}," be used only\nwithin the ",{"type":12,"tag":18,"props":76,"children":78},{"className":77},[],[79],{"type":23,"value":80},"AnyHitKHR",{"type":23,"value":82}," or ",{"type":12,"tag":18,"props":84,"children":86},{"className":85},[],[87],{"type":23,"value":88},"ClosestHitKHR",{"type":23,"value":90}," ",{"type":12,"tag":18,"props":92,"children":94},{"className":93},[],[95],{"type":23,"value":96},"Execution",{"type":23,"value":90},{"type":12,"tag":18,"props":99,"children":101},{"className":100},[],[102],{"type":23,"value":103},"Model",{"type":12,"tag":52,"props":105,"children":107},{"name":106},"VUID-HitTriangleVertexPositionsKHR-HitTriangleVertexPositionsKHR-08748",[108],{"type":12,"tag":25,"props":109,"children":110},{},[111,113,118,119,122,124,130,131,137,138],{"type":23,"value":112},"The variable decorated with ",{"type":12,"tag":18,"props":114,"children":116},{"className":115},[],[117],{"type":23,"value":4},{"type":23,"value":90},{"type":12,"tag":69,"props":120,"children":121},{"type":71},[],{"type":23,"value":123}," be\ndeclared using the ",{"type":12,"tag":18,"props":125,"children":127},{"className":126},[],[128],{"type":23,"value":129},"Input",{"type":23,"value":90},{"type":12,"tag":18,"props":132,"children":134},{"className":133},[],[135],{"type":23,"value":136},"Storage",{"type":23,"value":90},{"type":12,"tag":18,"props":139,"children":141},{"className":140},[],[142],{"type":23,"value":143},"Class",{"type":12,"tag":52,"props":145,"children":147},{"name":146},"VUID-HitTriangleVertexPositionsKHR-HitTriangleVertexPositionsKHR-08749",[148],{"type":12,"tag":25,"props":149,"children":150},{},[151,152,157,158,161],{"type":23,"value":112},{"type":12,"tag":18,"props":153,"children":155},{"className":154},[],[156],{"type":23,"value":4},{"type":23,"value":90},{"type":12,"tag":69,"props":159,"children":160},{"type":71},[],{"type":23,"value":162}," be\ndeclared as an array of three vectors of three 32-bit float values",{"type":12,"tag":52,"props":164,"children":166},{"name":165},"VUID-HitTriangleVertexPositionsKHR-HitTriangleVertexPositionsKHR-08750",[167],{"type":12,"tag":25,"props":168,"children":169},{},[170,171,176,177,180,182,188,190,196,197],{"type":23,"value":112},{"type":12,"tag":18,"props":172,"children":174},{"className":173},[],[175],{"type":23,"value":4},{"type":23,"value":90},{"type":12,"tag":69,"props":178,"children":179},{"type":71},[],{"type":23,"value":181}," be\nused only if the value of ",{"type":12,"tag":18,"props":183,"children":185},{"className":184},[],[186],{"type":23,"value":187},"HitKindKHR",{"type":23,"value":189}," is\n",{"type":12,"tag":18,"props":191,"children":193},{"className":192},[],[194],{"type":23,"value":195},"HitKindFrontFacingTriangleKHR",{"type":23,"value":82},{"type":12,"tag":18,"props":198,"children":200},{"className":199},[],[201],{"type":23,"value":202},"HitKindBackFacingTriangleKHR",{"type":12,"tag":52,"props":204,"children":206},{"name":205},"VUID-HitTriangleVertexPositionsKHR-None-08751",[207],{"type":12,"tag":25,"props":208,"children":209},{},[210,212,215,217],{"type":23,"value":211},"The acceleration structure corresponding to the current intersection\n",{"type":12,"tag":69,"props":213,"children":214},{"type":71},[],{"type":23,"value":216}," have been built with\n",{"type":12,"tag":18,"props":218,"children":220},{"className":219},[],[221],{"type":23,"value":222},"VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_DATA_ACCESS_KHR",{"title":224,"searchDepth":225,"depth":225,"links":226},"",2,[],"markdown",1729612424793]