MCPcopy Create free account
hub / github.com/cinder/Cinder / copyAttrib

Method copyAttrib

src/cinder/TriMesh.cpp:58–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58void TriMeshGeomTarget::copyAttrib( geom::Attrib attr, uint8_t dims, size_t strideBytes, const float *srcData, size_t count )
59{
60 // copyAttrib will ignore it if 'mMesh' doesn't have this attribute
61 mMesh->copyAttrib( attr, dims, strideBytes, srcData, count );
62}
63
64void TriMeshGeomTarget::copyIndices( geom::Primitive primitive, const uint32_t *source, size_t numIndices, uint8_t /*requiredBytesPerIndex*/ )
65{

Callers 1

loadIntoMethod · 0.45

Calls 4

getAttribDimsFunction · 0.85
copyDataFunction · 0.85
resizeMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected