示例#1
0
        internal virtual void DeleteGVob()
        {
            // we are finished with this gothic object, decrease the reference counter
            int refCtr = gvob.refCtr - 1;

            gvob.refCtr = refCtr;

            // Free the gothic object if no references are left, otherwise gothic should free it
            if (refCtr <= 0)
            {
                gvob.Dispose();
            }

            gvob = null;
        }
示例#2
0
 public void Dispose()
 {
     renderVob?.Dispose();
     renderVob = null;
 }