public new static vtkGPUInfo New() { vtkGPUInfo result = null; uint mteStatus = 0u; uint mteIndex = 4294967295u; uint rawRefCount = 0u; IntPtr intPtr = vtkGPUInfo.vtkGPUInfo_New(ref mteStatus, ref mteIndex, ref rawRefCount); if (IntPtr.Zero != intPtr) { bool flag; result = (vtkGPUInfo)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag); } return(result); }
public virtual vtkGPUInfo GetGPUInfo(int i) { vtkGPUInfo vtkGPUInfo = null; uint mteStatus = 0u; uint mteIndex = 4294967295u; uint rawRefCount = 0u; IntPtr intPtr = vtkGPUInfoList.vtkGPUInfoList_GetGPUInfo_01(base.GetCppThis(), i, ref mteStatus, ref mteIndex, ref rawRefCount); if (IntPtr.Zero != intPtr) { bool flag; vtkGPUInfo = (vtkGPUInfo)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag); if (flag) { vtkGPUInfo.Register(null); } } return(vtkGPUInfo); }
public new static vtkGPUInfo SafeDownCast(vtkObjectBase o) { vtkGPUInfo vtkGPUInfo = null; uint mteStatus = 0u; uint mteIndex = 4294967295u; uint rawRefCount = 0u; IntPtr intPtr = vtkGPUInfo.vtkGPUInfo_SafeDownCast_08((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount); if (IntPtr.Zero != intPtr) { bool flag; vtkGPUInfo = (vtkGPUInfo)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag); if (flag) { vtkGPUInfo.Register(null); } } return(vtkGPUInfo); }