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