internal void EndBillboards() { // Make sure we aren't double unlocking Debug.Assert( this.lockPtr != IntPtr.Zero ); this.mainBuffer.Unlock(); this.lockPtr = IntPtr.Zero; }