Lines Matching defs:attribute
343 wgpu::VertexAttribute attribute;
344 attribute.shaderLocation = i;
345 attribute.offset = offset;
346 attribute.format = to_dawn_vertex_format(attrib.cpuType());
347 vertexAttributes.push_back(attribute);
362 wgpu::VertexAttribute attribute;
363 attribute.shaderLocation = i;
364 attribute.offset = offset;
365 attribute.format = to_dawn_vertex_format(attrib.cpuType());
366 instanceAttributes.push_back(attribute);