Exemple #1
0
 public virtual void delete(IRenderingEngine re)
 {
     lock (this)
     {
         if (bufferId != -1)
         {
             re.deleteBuffer(bufferId);
             bufferId = -1;
         }
         bufferLength  = 0;
         bufferAddress = 0;
         stride        = 0;
         cachedBuffer  = null;
         cachedMemory  = null;
     }
 }
Exemple #2
0
 public virtual void deleteBuffer(int buffer)
 {
     proxy.deleteBuffer(buffer);
 }