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