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