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