public void removeFactory(HighLevelGpuProgramFactory factory) { OgrePINVOKE.HighLevelGpuProgramManager_removeFactory(swigCPtr, HighLevelGpuProgramFactory.getCPtr(factory)); if (OgrePINVOKE.SWIGPendingException.Pending) { throw OgrePINVOKE.SWIGPendingException.Retrieve(); } }
/// <summary> /// Unregisters a factory /// </summary> public void RemoveFactory( HighLevelGpuProgramFactory factory ) { this.factories.Remove( factory.Language ); }
/// <summary> /// Add a new factory object for high-level programs of a given language. /// </summary> /// <param name="factory"> /// The factory instance to register. /// </param> public void AddFactory( HighLevelGpuProgramFactory factory ) { this.factories.Add( factory.Language, factory ); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(HighLevelGpuProgramFactory obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }