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