Example #1
0
 public void Dispose()
 {
     Marshal.FreeHGlobal(NativePointer->QueuePriorities);
     MemUtil.Free((IntPtr)NativePointer);
     NativePointer = null;
     GC.SuppressFinalize(this);
 }
Example #2
0
 public DeviceQueueCreateInfo()
 {
     NativePointer        = (Unmanaged.DeviceQueueCreateInfo *)MemUtil.Alloc(typeof(Unmanaged.DeviceQueueCreateInfo));
     NativePointer->SType = StructureType.DeviceQueueCreateInfo;
 }