Exemple #1
0
 /// <summary>
 /// Updates the material surface (save new one, discard cached data, reload asset).
 /// </summary>
 /// <param name="data">The surface graph data.</param>
 /// <param name="info">The material info structure.</param>
 /// <returns>True if cannot save it, otherwise false.</returns>
 public bool SaveSurface(byte[] data, MaterialInfo info)
 {
     return(Internal_SaveSurface(unmanagedPtr, data, ref info));
 }
Exemple #2
0
 internal static extern bool Internal_SaveSurface(IntPtr obj, byte[] data, ref MaterialInfo info);
 internal static extern void Internal_Info(IntPtr obj, out MaterialInfo resultAsRef);