[{"data":1,"prerenderedAt":178},["ShallowReactive",2],{"25cg28CHDZ":3},{"title":4,"description":5,"type":6,"xrefs":7,"body":8,"_type":177,"_id":4},"RayGeometryIndexKHR","Geometry index in a ray shader","builtins",[],{"type":9,"children":10,"toc":173},"root",[11,24,46],{"type":12,"tag":13,"props":14,"children":16},"element","h6",{"id":15},"raygeometryindexkhr",[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\ncontain the ",{"type":12,"tag":38,"props":39,"children":41},"a",{"href":40},"/man/VkAccelerationStructureBuildGeometryInfoKHR#acceleration-structure-geometry-index",[42],{"type":23,"value":43},"geometry index",{"type":23,"value":45}," for\nthe acceleration structure geometry currently being shaded.",{"type":12,"tag":47,"props":48,"children":50},"validity-group",{"name":49},"Valid Usage",[51,114,154],{"type":12,"tag":52,"props":53,"children":55},"validity-field",{"name":54},"VUID-RayGeometryIndexKHR-RayGeometryIndexKHR-04345",[56,97],{"type":12,"tag":25,"props":57,"children":58},{},[59,61,66,68,73,75,81,83,89,91],{"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":90},", or ",{"type":12,"tag":18,"props":92,"children":94},{"className":93},[],[95],{"type":23,"value":96},"ClosestHitKHR",{"type":12,"tag":25,"props":98,"children":99},{},[100,106,108],{"type":12,"tag":18,"props":101,"children":103},{"className":102},[],[104],{"type":23,"value":105},"Execution",{"type":23,"value":107}," ",{"type":12,"tag":18,"props":109,"children":111},{"className":110},[],[112],{"type":23,"value":113},"Model",{"type":12,"tag":52,"props":115,"children":117},{"name":116},"VUID-RayGeometryIndexKHR-RayGeometryIndexKHR-04346",[118],{"type":12,"tag":25,"props":119,"children":120},{},[121,123,128,129,132,134,140,141,147,148],{"type":23,"value":122},"The variable decorated with ",{"type":12,"tag":18,"props":124,"children":126},{"className":125},[],[127],{"type":23,"value":4},{"type":23,"value":107},{"type":12,"tag":69,"props":130,"children":131},{"type":71},[],{"type":23,"value":133}," be declared\nusing the ",{"type":12,"tag":18,"props":135,"children":137},{"className":136},[],[138],{"type":23,"value":139},"Input",{"type":23,"value":107},{"type":12,"tag":18,"props":142,"children":144},{"className":143},[],[145],{"type":23,"value":146},"Storage",{"type":23,"value":107},{"type":12,"tag":18,"props":149,"children":151},{"className":150},[],[152],{"type":23,"value":153},"Class",{"type":12,"tag":52,"props":155,"children":157},{"name":156},"VUID-RayGeometryIndexKHR-RayGeometryIndexKHR-04347",[158],{"type":12,"tag":25,"props":159,"children":160},{},[161,162,167,168,171],{"type":23,"value":122},{"type":12,"tag":18,"props":163,"children":165},{"className":164},[],[166],{"type":23,"value":4},{"type":23,"value":107},{"type":12,"tag":69,"props":169,"children":170},{"type":71},[],{"type":23,"value":172}," be declared\nas a scalar 32-bit integer value",{"title":174,"searchDepth":175,"depth":175,"links":176},"",2,[],"markdown",1729612426678]