public new static vtkGenericOpenGLRenderWindow New() { vtkGenericOpenGLRenderWindow result = null; uint mteStatus = 0u; uint mteIndex = 4294967295u; uint rawRefCount = 0u; IntPtr intPtr = vtkGenericOpenGLRenderWindow.vtkGenericOpenGLRenderWindow_New(ref mteStatus, ref mteIndex, ref rawRefCount); if (IntPtr.Zero != intPtr) { bool flag; result = (vtkGenericOpenGLRenderWindow)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag); } return(result); }
public new static vtkGenericOpenGLRenderWindow SafeDownCast(vtkObjectBase o) { vtkGenericOpenGLRenderWindow vtkGenericOpenGLRenderWindow = null; uint mteStatus = 0u; uint mteIndex = 4294967295u; uint rawRefCount = 0u; IntPtr intPtr = vtkGenericOpenGLRenderWindow.vtkGenericOpenGLRenderWindow_SafeDownCast_22((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount); if (IntPtr.Zero != intPtr) { bool flag; vtkGenericOpenGLRenderWindow = (vtkGenericOpenGLRenderWindow)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag); if (flag) { vtkGenericOpenGLRenderWindow.Register(null); } } return(vtkGenericOpenGLRenderWindow); }