Function CommandBuilder.DiscardAndDispose

DiscardAndDispose ()

Discards the contents of this command builder without rendering anything.

Public
void DiscardAndDispose ()

Discards the contents of this command builder without rendering anything.

If you are not going to draw anything (i.e. you do not call the Dispose method) then you must call this method to avoid memory leaks.