Exemplo n.º 1
0
 static public int DestroyCreatedInstances(IntPtr l)
 {
     try {
         UnityEngine.Experimental.Rendering.RenderPipelineAsset self = (UnityEngine.Experimental.Rendering.RenderPipelineAsset)checkSelf(l);
         self.DestroyCreatedInstances();
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Exemplo n.º 2
0
 static public int GetTerrainBrushPassIndex(IntPtr l)
 {
     try {
         UnityEngine.Experimental.Rendering.RenderPipelineAsset self = (UnityEngine.Experimental.Rendering.RenderPipelineAsset)checkSelf(l);
         var ret = self.GetTerrainBrushPassIndex();
         pushValue(l, true);
         pushValue(l, ret);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static public int GetDefaultUIETC1SupportedMaterial(IntPtr l)
 {
     try {
         UnityEngine.Experimental.Rendering.RenderPipelineAsset self = (UnityEngine.Experimental.Rendering.RenderPipelineAsset)checkSelf(l);
         var ret = self.GetDefaultUIETC1SupportedMaterial();
         pushValue(l, true);
         pushValue(l, ret);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static public int GetAutodeskInteractiveShader(IntPtr l)
 {
     try {
         UnityEngine.Experimental.Rendering.RenderPipelineAsset self = (UnityEngine.Experimental.Rendering.RenderPipelineAsset)checkSelf(l);
         var ret = self.GetAutodeskInteractiveShader();
         pushValue(l, true);
         pushValue(l, ret);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 public void Setup()
 {
     m_OriginalAsset = GraphicsSettings.renderPipelineAsset;
     Setup(0);
 }