[{"data":1,"prerenderedAt":155},["ShallowReactive",2],{"9WemLZc3bi":3},{"title":4,"description":5,"type":6,"xrefs":7,"body":8,"_type":154,"_id":4},"BaryCoordKHR","Barycentric coordinates of a fragment","builtins",[],{"type":9,"children":10,"toc":150},"root",[11,24,44],{"type":12,"tag":13,"props":14,"children":16},"element","h6",{"id":15},"barycoordkhr",[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,42],{"type":23,"value":29},"The ",{"type":12,"tag":18,"props":31,"children":33},{"className":32},[],[34],{"type":23,"value":4},{"type":23,"value":36}," decoration ",{"type":12,"tag":38,"props":39,"children":41},"normative",{"type":40},"can",[],{"type":23,"value":43}," be used to decorate a fragment shader\ninput variable.\nThis variable will contain a three-component floating-point vector with\nbarycentric weights that indicate the location of the fragment relative to\nthe screen-space locations of vertices of its primitive, obtained using\nperspective interpolation.",{"type":12,"tag":45,"props":46,"children":48},"validity-group",{"name":47},"Valid Usage",[49,91,131],{"type":12,"tag":50,"props":51,"children":53},"validity-field",{"name":52},"VUID-BaryCoordKHR-BaryCoordKHR-04154",[54],{"type":12,"tag":25,"props":55,"children":56},{},[57,58,63,64,68,70,76,78,84,85],{"type":23,"value":29},{"type":12,"tag":18,"props":59,"children":61},{"className":60},[],[62],{"type":23,"value":4},{"type":23,"value":36},{"type":12,"tag":38,"props":65,"children":67},{"type":66},"must",[],{"type":23,"value":69}," be used only within the\n",{"type":12,"tag":18,"props":71,"children":73},{"className":72},[],[74],{"type":23,"value":75},"Fragment",{"type":23,"value":77}," ",{"type":12,"tag":18,"props":79,"children":81},{"className":80},[],[82],{"type":23,"value":83},"Execution",{"type":23,"value":77},{"type":12,"tag":18,"props":86,"children":88},{"className":87},[],[89],{"type":23,"value":90},"Model",{"type":12,"tag":50,"props":92,"children":94},{"name":93},"VUID-BaryCoordKHR-BaryCoordKHR-04155",[95],{"type":12,"tag":25,"props":96,"children":97},{},[98,100,105,106,109,111,117,118,124,125],{"type":23,"value":99},"The variable decorated with ",{"type":12,"tag":18,"props":101,"children":103},{"className":102},[],[104],{"type":23,"value":4},{"type":23,"value":77},{"type":12,"tag":38,"props":107,"children":108},{"type":66},[],{"type":23,"value":110}," be declared using\nthe ",{"type":12,"tag":18,"props":112,"children":114},{"className":113},[],[115],{"type":23,"value":116},"Input",{"type":23,"value":77},{"type":12,"tag":18,"props":119,"children":121},{"className":120},[],[122],{"type":23,"value":123},"Storage",{"type":23,"value":77},{"type":12,"tag":18,"props":126,"children":128},{"className":127},[],[129],{"type":23,"value":130},"Class",{"type":12,"tag":50,"props":132,"children":134},{"name":133},"VUID-BaryCoordKHR-BaryCoordKHR-04156",[135],{"type":12,"tag":25,"props":136,"children":137},{},[138,139,144,145,148],{"type":23,"value":99},{"type":12,"tag":18,"props":140,"children":142},{"className":141},[],[143],{"type":23,"value":4},{"type":23,"value":77},{"type":12,"tag":38,"props":146,"children":147},{"type":66},[],{"type":23,"value":149}," be declared as a\nthree-component vector of 32-bit floating-point values",{"title":151,"searchDepth":152,"depth":152,"links":153},"",2,[],"markdown",1725732524563]