Skip to main content

sample_material

Functions

sample_color_attribute(color, color_attribute, index_0, index_1, index_2, u, v)
sample_material(out, mesh, primitive_id, u, v)

sample_color_attribute(color, color_attribute, index_0, index_1, index_2, u, v)

Kind: global function

ParamType
colorArray.<number>
color_attributeBufferAttribute
index_0number
index_1number
index_2number
unumber
vnumber

sample_material(out, mesh, primitive_id, u, v)

Kind: global function

ParamType
outArray.<number>
meshPathTracedMesh
primitive_idnumber
unumber
vnumber