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