protected IntPtr EarthView_World_Graphic_CCustomCompositionPass_createOperation_CRenderSystemOperation_CCompositorInstance_CCompositionPass_Function(IntPtr instance, IntPtr pass) { EarthView.World.Graphic.CompositorInstance csobj_instance = new EarthView.World.Graphic.CompositorInstance(CreatedWhenConstruct.CWC_NotToCreate); csobj_instance.BindNativeObject(instance, "CCompositorInstance"); csobj_instance.Delegate = true; IClassFactory csobj_instanceClassFactory = GlobalClassFactoryMap.Get(csobj_instance.GetCppInstanceTypeName()); if (csobj_instanceClassFactory != null) { csobj_instance.Delegate = true; csobj_instance = csobj_instanceClassFactory.Create() as EarthView.World.Graphic.CompositorInstance; csobj_instance.BindNativeObject(instance, "CCompositorInstance"); csobj_instance.Delegate = true; } EarthView.World.Graphic.CompositionPass csobj_pass = new EarthView.World.Graphic.CompositionPass(CreatedWhenConstruct.CWC_NotToCreate); csobj_pass.BindNativeObject(pass, "CCompositionPass"); csobj_pass.Delegate = true; IClassFactory csobj_passClassFactory = GlobalClassFactoryMap.Get(csobj_pass.GetCppInstanceTypeName()); if (csobj_passClassFactory != null) { csobj_pass.Delegate = true; csobj_pass = csobj_passClassFactory.Create() as EarthView.World.Graphic.CompositionPass; csobj_pass.BindNativeObject(pass, "CCompositionPass"); csobj_pass.Delegate = true; } EarthView.World.Graphic.CompositorInstance.RenderSystemOperation csret = CreateOperation(csobj_instance, csobj_pass); if (!object.Equals(csret, null)) { csret.Delegate = true; return(csret.NativeObject); } else { return(IntPtr.Zero); } }
protected void EarthView_World_Graphic_CCompositorLogic_compositorInstanceCreated_void_CCompositorInstance_Function(IntPtr newInstance) { EarthView.World.Graphic.CompositorInstance csobj_newInstance = new EarthView.World.Graphic.CompositorInstance(CreatedWhenConstruct.CWC_NotToCreate); csobj_newInstance.BindNativeObject(newInstance, "CCompositorInstance"); csobj_newInstance.Delegate = true; IClassFactory csobj_newInstanceClassFactory = GlobalClassFactoryMap.Get(csobj_newInstance.GetCppInstanceTypeName()); if (csobj_newInstanceClassFactory != null) { csobj_newInstance.Delegate = true; csobj_newInstance = csobj_newInstanceClassFactory.Create() as EarthView.World.Graphic.CompositorInstance; csobj_newInstance.BindNativeObject(newInstance, "CCompositorInstance"); csobj_newInstance.Delegate = true; } CompositorInstanceCreated(csobj_newInstance); }