void destroyInstance(IntPtr arch) { OgreManagedArchive archive = archives[arch]; archive.Dispose(); archives.Remove(arch); }
IntPtr createInstance(String name) { OgreManagedArchive archive = doCreateInstance(name); archives.Add(archive.NativeArchive, archive); return(archive.NativeArchive); }
public IntPtr create(OgreManagedArchive obj, String name, String archType) { gcHandle = GCHandle.Alloc(obj); return OgreManagedArchive_Create(name, archType, loadCallback, unloadCallback, openCallback, listCallback, listFileInfoCallback, findCallback, findFileInfoCallback, existsCallback, GCHandle.ToIntPtr(gcHandle)); }
public ScalableResourceArchive(OgreManagedArchive wrappedArchive, String name, String archType) : base(name, archType) { this.wrappedArchive = wrappedArchive; }