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