Beispiel #1
0
 public static void Write(UnsafeWriter writer, InjectedHlslLocationInfo value)
 {
     UnsafeMarshallers.FileSystemPathMarshaller.Marshal(writer, value.FileSystemPath);
     writer.Write(value.Range.StartOffset);
     writer.Write(value.Range.EndOffset);
     writer.WriteEnum(value.ProgramType);
 }