[{"data":1,"prerenderedAt":183},["ShallowReactive",2],{"RYMTLBbKNA":3},{"title":4,"description":5,"type":6,"xrefs":7,"body":8,"_type":182,"_id":4},"WorldRayDirectionKHR","Ray direction in world space","builtins",[],{"type":9,"children":10,"toc":178},"root",[11,24,46],{"type":12,"tag":13,"props":14,"children":16},"element","h6",{"id":15},"worldraydirectionkhr",[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 will\nspecify the direction of the ray being processed, in world space.\nThe value is the parameter passed into the ",{"type":12,"tag":38,"props":39,"children":41},"a",{"href":40},"/404#glossary-pipeline-trace-ray",[42],{"type":23,"value":43},"pipeline trace ray",{"type":23,"value":45}," instruction.",{"type":12,"tag":47,"props":48,"children":50},"validity-group",{"name":49},"Valid Usage",[51,119,159],{"type":12,"tag":52,"props":53,"children":55},"validity-field",{"name":54},"VUID-WorldRayDirectionKHR-WorldRayDirectionKHR-04428",[56],{"type":12,"tag":25,"props":57,"children":58},{},[59,61,66,68,73,75,81,83,89,90,96,98,104,106,112,113],{"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 within the\n",{"type":12,"tag":18,"props":76,"children":78},{"className":77},[],[79],{"type":23,"value":80},"IntersectionKHR",{"type":23,"value":82},", ",{"type":12,"tag":18,"props":84,"children":86},{"className":85},[],[87],{"type":23,"value":88},"AnyHitKHR",{"type":23,"value":82},{"type":12,"tag":18,"props":91,"children":93},{"className":92},[],[94],{"type":23,"value":95},"ClosestHitKHR",{"type":23,"value":97},", or\n",{"type":12,"tag":18,"props":99,"children":101},{"className":100},[],[102],{"type":23,"value":103},"MissKHR",{"type":23,"value":105}," ",{"type":12,"tag":18,"props":107,"children":109},{"className":108},[],[110],{"type":23,"value":111},"Execution",{"type":23,"value":105},{"type":12,"tag":18,"props":114,"children":116},{"className":115},[],[117],{"type":23,"value":118},"Model",{"type":12,"tag":52,"props":120,"children":122},{"name":121},"VUID-WorldRayDirectionKHR-WorldRayDirectionKHR-04429",[123],{"type":12,"tag":25,"props":124,"children":125},{},[126,128,133,134,137,139,145,146,152,153],{"type":23,"value":127},"The variable decorated with ",{"type":12,"tag":18,"props":129,"children":131},{"className":130},[],[132],{"type":23,"value":4},{"type":23,"value":105},{"type":12,"tag":69,"props":135,"children":136},{"type":71},[],{"type":23,"value":138}," be declared\nusing the ",{"type":12,"tag":18,"props":140,"children":142},{"className":141},[],[143],{"type":23,"value":144},"Input",{"type":23,"value":105},{"type":12,"tag":18,"props":147,"children":149},{"className":148},[],[150],{"type":23,"value":151},"Storage",{"type":23,"value":105},{"type":12,"tag":18,"props":154,"children":156},{"className":155},[],[157],{"type":23,"value":158},"Class",{"type":12,"tag":52,"props":160,"children":162},{"name":161},"VUID-WorldRayDirectionKHR-WorldRayDirectionKHR-04430",[163],{"type":12,"tag":25,"props":164,"children":165},{},[166,167,172,173,176],{"type":23,"value":127},{"type":12,"tag":18,"props":168,"children":170},{"className":169},[],[171],{"type":23,"value":4},{"type":23,"value":105},{"type":12,"tag":69,"props":174,"children":175},{"type":71},[],{"type":23,"value":177}," be declared\nas a three-component vector of 32-bit floating-point values",{"title":179,"searchDepth":180,"depth":180,"links":181},"",2,[],"markdown",1729612490306]