public virtual void CopyToBuffer(GraphicsBuffer rhs) { IGraphicsBufferPINVOKE.GraphicsBuffer_CopyToBuffer(swigCPtr, GraphicsBuffer.getCPtr(rhs)); if (IGraphicsBufferPINVOKE.SWIGPendingException.Pending) { throw IGraphicsBufferPINVOKE.SWIGPendingException.Retrieve(); } }