Skip to main content

sample_triangle_attribute

sample_triangle_attribute(out, out_offset, a, b, c, attribute_array, dimensions, u, v)

Kind: global function

ParamTypeDescription
outArray.<number>
out_offsetnumber
anumbervertex index 0
bnumbervertex index 0
cnumbervertex index 0
attribute_arrayArray.<number> | ArrayLike.<number> | Float32Array
dimensionsnumber
unumberBarycentric coordinate
vnumberBarycentric coordinate