Exemplo n.º 1
0
 void OnTranslationErrorThrowException(ShaderTranslationError error)
 {
     throw new Exception(string.Format("{0}: {1}", error.Location.ToString(), error.Message));
 }
Exemplo n.º 2
0
 void OnTranslationErrorLog(ShaderTranslationError error)
 {
     Logger.Log(string.Format("{0}: {1}", error.Location.ToString(), error.Message));
 }