MCPcopy Create free account
hub / github.com/Tencent/tgfx / setVertexAttributes

Method setVertexAttributes

src/gpu/processors/GeometryProcessor.cpp:34–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32}
33
34void GeometryProcessor::setVertexAttributes(const Attribute* attrs, int attrCount) {
35 for (int i = 0; i < attrCount; ++i) {
36 auto& attribute = attrs[i];
37 if (!attribute.empty()) {
38 attributes.push_back(attribute);
39 }
40 }
41}
42
43void GeometryProcessor::setTransformDataHelper(const Matrix& uvMatrix, UniformBuffer* uniformBuffer,
44 FPCoordTransformIter* transformIter) const {

Callers 1

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected