public static EarthView.World.Spatial2D.Raster.Irasterrenderer CreateRendererFromXmlElement(ref EarthView.World.Core.XmlElement element)
                    {
                        IntPtr __ptr = EarthView_World_Spatial2D_Raster_CRasterRendererFactory_createRendererFromXmlElement_IRasterRenderer_CXmlElement(object.Equals(element, null) ? IntPtr.Zero : element.NativeObject);

                        if (__ptr == IntPtr.Zero)
                        {
                            return(null);
                        }
                        EarthView.World.Spatial2D.Raster.Irasterrenderer csObj = new EarthView.World.Spatial2D.Raster.Irasterrenderer(CreatedWhenConstruct.CWC_NotToCreate);
                        csObj.BindNativeObject(__ptr, "IRasterRenderer");
                        csObj.Delegate = true;
                        IClassFactory csObjClassFactory = GlobalClassFactoryMap.Get(csObj.GetCppInstanceTypeName());

                        if (csObjClassFactory != null)
                        {
                            csObj.Delegate = true;
                            csObj          = csObjClassFactory.Create() as EarthView.World.Spatial2D.Raster.Irasterrenderer;
                            csObj.BindNativeObject(__ptr, "IRasterRenderer");
                            csObj.Delegate = true;
                        }
                        return(csObj);
                    }
 public static void DestroyRenderer(EarthView.World.Spatial2D.Raster.Irasterrenderer pRenderer)
 {
     EarthView_World_Spatial2D_Raster_CRasterRendererFactory_destroyRenderer_void_IRasterRenderer(object.Equals(pRenderer, null) ? IntPtr.Zero : pRenderer.NativeObject);
 }