public void Dispose() { MemUtil.Free((IntPtr)NativePointer); NativePointer = null; GC.SuppressFinalize(this); }
public ImageViewCreateInfo() { NativePointer = (Unmanaged.ImageViewCreateInfo *)MemUtil.Alloc(typeof(Unmanaged.ImageViewCreateInfo)); NativePointer->SType = StructureType.ImageViewCreateInfo; }