[{"data":1,"prerenderedAt":151},["ShallowReactive",2],{"qJQmiZ3MW0":3},{"title":4,"description":5,"type":6,"xrefs":7,"body":8,"_type":150,"_id":4},"PrimitiveCountNV","Number of primitives output by a mesh shader","builtins",[],{"type":9,"children":10,"toc":146},"root",[11,24,37],{"type":12,"tag":13,"props":14,"children":16},"element","h6",{"id":15},"primitivecountnv",[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],{"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}," decoration will make\nthat variable contain the primitive count.\nThe primitive count specifies the number of primitives in the output mesh\nproduced by the mesh shader that will be processed by subsequent pipeline\nstages.",{"type":12,"tag":38,"props":39,"children":41},"validity-group",{"name":40},"Valid Usage",[42,87,127],{"type":12,"tag":43,"props":44,"children":46},"validity-field",{"name":45},"VUID-PrimitiveCountNV-PrimitiveCountNV-04327",[47],{"type":12,"tag":25,"props":48,"children":49},{},[50,52,57,59,64,66,72,74,80,81],{"type":23,"value":51},"The ",{"type":12,"tag":18,"props":53,"children":55},{"className":54},[],[56],{"type":23,"value":4},{"type":23,"value":58}," decoration ",{"type":12,"tag":60,"props":61,"children":63},"normative",{"type":62},"must",[],{"type":23,"value":65}," be used only within the\n",{"type":12,"tag":18,"props":67,"children":69},{"className":68},[],[70],{"type":23,"value":71},"MeshNV",{"type":23,"value":73}," ",{"type":12,"tag":18,"props":75,"children":77},{"className":76},[],[78],{"type":23,"value":79},"Execution",{"type":23,"value":73},{"type":12,"tag":18,"props":82,"children":84},{"className":83},[],[85],{"type":23,"value":86},"Model",{"type":12,"tag":43,"props":88,"children":90},{"name":89},"VUID-PrimitiveCountNV-PrimitiveCountNV-04328",[91],{"type":12,"tag":25,"props":92,"children":93},{},[94,96,101,102,105,107,113,114,120,121],{"type":23,"value":95},"The variable decorated with ",{"type":12,"tag":18,"props":97,"children":99},{"className":98},[],[100],{"type":23,"value":4},{"type":23,"value":73},{"type":12,"tag":60,"props":103,"children":104},{"type":62},[],{"type":23,"value":106}," be declared\nusing the ",{"type":12,"tag":18,"props":108,"children":110},{"className":109},[],[111],{"type":23,"value":112},"Output",{"type":23,"value":73},{"type":12,"tag":18,"props":115,"children":117},{"className":116},[],[118],{"type":23,"value":119},"Storage",{"type":23,"value":73},{"type":12,"tag":18,"props":122,"children":124},{"className":123},[],[125],{"type":23,"value":126},"Class",{"type":12,"tag":43,"props":128,"children":130},{"name":129},"VUID-PrimitiveCountNV-PrimitiveCountNV-04329",[131],{"type":12,"tag":25,"props":132,"children":133},{},[134,135,140,141,144],{"type":23,"value":95},{"type":12,"tag":18,"props":136,"children":138},{"className":137},[],[139],{"type":23,"value":4},{"type":23,"value":73},{"type":12,"tag":60,"props":142,"children":143},{"type":62},[],{"type":23,"value":145}," be declared as a\nscalar 32-bit integer value",{"title":147,"searchDepth":148,"depth":148,"links":149},"",2,[],"markdown",1729612426425]