public new vtkShaderDeviceAdapter NewInstance() { vtkShaderDeviceAdapter result = null; uint mteStatus = 0u; uint mteIndex = 4294967295u; uint rawRefCount = 0u; IntPtr intPtr = vtkShaderDeviceAdapter.vtkShaderDeviceAdapter_NewInstance_04(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount); if (IntPtr.Zero != intPtr) { bool flag; result = (vtkShaderDeviceAdapter)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag); } return(result); }
public new static vtkShaderDeviceAdapter SafeDownCast(vtkObjectBase o) { vtkShaderDeviceAdapter vtkShaderDeviceAdapter = null; uint mteStatus = 0u; uint mteIndex = 4294967295u; uint rawRefCount = 0u; IntPtr intPtr = vtkShaderDeviceAdapter.vtkShaderDeviceAdapter_SafeDownCast_06((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount); if (IntPtr.Zero != intPtr) { bool flag; vtkShaderDeviceAdapter = (vtkShaderDeviceAdapter)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag); if (flag) { vtkShaderDeviceAdapter.Register(null); } } return(vtkShaderDeviceAdapter); }
public virtual vtkShaderDeviceAdapter GetShaderDeviceAdapter() { vtkShaderDeviceAdapter vtkShaderDeviceAdapter = null; uint mteStatus = 0u; uint mteIndex = 4294967295u; uint rawRefCount = 0u; IntPtr intPtr = vtkShaderProgram.vtkShaderProgram_GetShaderDeviceAdapter_06(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount); if (IntPtr.Zero != intPtr) { bool flag; vtkShaderDeviceAdapter = (vtkShaderDeviceAdapter)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag); if (flag) { vtkShaderDeviceAdapter.Register(null); } } return(vtkShaderDeviceAdapter); }