MCPcopy Create free account
hub / github.com/arrayfire/forge / clear

Method clear

src/backend/opengl/font_atlas_impl.cpp:276–284  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

274}
275
276void FontAtlas::clear()
277{
278 mUsed = 0;
279
280 nodes.clear();
281 nodes.push_back(glm::vec3(BORDER_GAP, BORDER_GAP, mWidth-BORDER_GAP-1));
282
283 std::fill(mData.begin(), mData.end(), 0);
284}
285
286GLuint FontAtlas::atlasTextureId() const
287{

Callers 8

generateTickLabelsMethod · 0.80
destroyGLResourcesMethod · 0.80
~FontAtlasMethod · 0.80
generateColorsFunction · 0.80
generatePointsFunction · 0.80
generateCurveFunction · 0.80
generatePointsFunction · 0.80
genSurfaceFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected