[{"data":1,"prerenderedAt":182},["ShallowReactive",2],{"WffvVFC3HL":3},{"title":4,"description":5,"type":6,"xrefs":7,"body":8,"_type":181,"_id":4},"MeshViewIndicesNV","Indices of views processed by a mesh or task shader","builtins",[],{"type":9,"children":10,"toc":177},"root",[11,24,60],{"type":12,"tag":13,"props":14,"children":16},"element","h6",{"id":15},"meshviewindicesnv",[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,50,52,58],{"type":23,"value":29},"Decorating a variable with the ",{"type":12,"tag":18,"props":31,"children":33},{"className":32},[],[34],{"type":23,"value":4},{"type":23,"value":36}," built-in decoration\nwill make that variable contain the mesh view indices.\nThe mesh view indices is an array of values where each element holds the\nview number of one of the views being processed by the current mesh or task\nshader invocations.\nThe values of array elements with indices greater than or equal to\n",{"type":12,"tag":18,"props":38,"children":40},{"className":39},[],[41],{"type":23,"value":42},"MeshViewCountNV",{"type":23,"value":44}," are undefined:.\nIf the value of ",{"type":12,"tag":18,"props":46,"children":48},{"className":47},[],[49],{"type":23,"value":4},{"type":23,"value":51},"[i] is j, then any outputs\ndecorated with ",{"type":12,"tag":18,"props":53,"children":55},{"className":54},[],[56],{"type":23,"value":57},"PerViewNV",{"type":23,"value":59}," will take on the value of array element\ni when processing primitives for view index j.",{"type":12,"tag":61,"props":62,"children":64},"validity-group",{"name":63},"Valid Usage",[65,118,158],{"type":12,"tag":66,"props":67,"children":69},"validity-field",{"name":68},"VUID-MeshViewIndicesNV-MeshViewIndicesNV-04290",[70],{"type":12,"tag":25,"props":71,"children":72},{},[73,75,80,82,87,89,95,97,103,105,111,112],{"type":23,"value":74},"The ",{"type":12,"tag":18,"props":76,"children":78},{"className":77},[],[79],{"type":23,"value":4},{"type":23,"value":81}," decoration ",{"type":12,"tag":83,"props":84,"children":86},"normative",{"type":85},"must",[],{"type":23,"value":88}," be used only within the\n",{"type":12,"tag":18,"props":90,"children":92},{"className":91},[],[93],{"type":23,"value":94},"MeshNV",{"type":23,"value":96}," or ",{"type":12,"tag":18,"props":98,"children":100},{"className":99},[],[101],{"type":23,"value":102},"TaskNV",{"type":23,"value":104}," ",{"type":12,"tag":18,"props":106,"children":108},{"className":107},[],[109],{"type":23,"value":110},"Execution",{"type":23,"value":104},{"type":12,"tag":18,"props":113,"children":115},{"className":114},[],[116],{"type":23,"value":117},"Model",{"type":12,"tag":66,"props":119,"children":121},{"name":120},"VUID-MeshViewIndicesNV-MeshViewIndicesNV-04291",[122],{"type":12,"tag":25,"props":123,"children":124},{},[125,127,132,133,136,138,144,145,151,152],{"type":23,"value":126},"The variable decorated with ",{"type":12,"tag":18,"props":128,"children":130},{"className":129},[],[131],{"type":23,"value":4},{"type":23,"value":104},{"type":12,"tag":83,"props":134,"children":135},{"type":85},[],{"type":23,"value":137}," be declared\nusing the ",{"type":12,"tag":18,"props":139,"children":141},{"className":140},[],[142],{"type":23,"value":143},"Input",{"type":23,"value":104},{"type":12,"tag":18,"props":146,"children":148},{"className":147},[],[149],{"type":23,"value":150},"Storage",{"type":23,"value":104},{"type":12,"tag":18,"props":153,"children":155},{"className":154},[],[156],{"type":23,"value":157},"Class",{"type":12,"tag":66,"props":159,"children":161},{"name":160},"VUID-MeshViewIndicesNV-MeshViewIndicesNV-04292",[162],{"type":12,"tag":25,"props":163,"children":164},{},[165,166,171,172,175],{"type":23,"value":126},{"type":12,"tag":18,"props":167,"children":169},{"className":168},[],[170],{"type":23,"value":4},{"type":23,"value":104},{"type":12,"tag":83,"props":173,"children":174},{"type":85},[],{"type":23,"value":176}," be declared as\nan array of scalar 32-bit integer values",{"title":178,"searchDepth":179,"depth":179,"links":180},"",2,[],"markdown",1725732532473]