MCPcopy Create free account
hub / github.com/TheRealMJP/DeferredTexturing / Clear

Method Clear

Externals/Assimp-3.1.1/include/types.h:343–351  ·  view source on GitHub ↗

Clear the string - reset its length to zero */

Source from the content-addressed store, hash-verified

341
342 /** Clear the string - reset its length to zero */
343 void Clear () {
344 length = 0;
345 data[0] = '\0';
346
347#ifdef ASSIMP_BUILD_DEBUG
348 // Debug build: overwrite the string on its full length with ESC (27)
349 memset(data+1,27,MAXLEN-1);
350#endif
351 }
352
353 /** Returns a pointer to the underlying zero-terminated array of characters */
354 const char* C_Str() const {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected