UseAutoDelete Advanced function If you have any dynamically allocated TextRenderers you may wish them to be automatically destroyed when the program quits. Note that this function should only be called if the TextRenderer is dynamically allocated! Examples // Dynamically allocate a TextRenderer //
TextRenderer *myRenderer = new TextRenderer( ... ); // Choose the TextRenderer to be automatically deleted when the program quits // myRenderer->UseAutoDelete(); Other functions of the class TextRenderer
Questions about UseAutoDelete? Click here. |