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; } }
public virtual void deleteBuffer(int buffer) { proxy.deleteBuffer(buffer); }