Exemple #1
0
 static public int constructor(IntPtr l)
 {
     try {
         UnityEngine.Experimental.Rendering.RenderPass o;
         UnityEngine.Experimental.Rendering.ScriptableRenderContext a1;
         checkValueType(l, 2, out a1);
         System.Int32 a2;
         checkType(l, 3, out a2);
         System.Int32 a3;
         checkType(l, 4, out a3);
         System.Int32 a4;
         checkType(l, 5, out a4);
         UnityEngine.Experimental.Rendering.RenderPassAttachment[] a5;
         checkArray(l, 6, out a5);
         UnityEngine.Experimental.Rendering.RenderPassAttachment a6;
         checkType(l, 7, out a6);
         o = new UnityEngine.Experimental.Rendering.RenderPass(a1, a2, a3, a4, a5, a6);
         pushValue(l, true);
         pushValue(l, o);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Exemple #2
0
 static public int get_width(IntPtr l)
 {
     try {
         UnityEngine.Experimental.Rendering.RenderPass self = (UnityEngine.Experimental.Rendering.RenderPass)checkSelf(l);
         pushValue(l, true);
         pushValue(l, self.width);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Exemple #3
0
 static public int Dispose(IntPtr l)
 {
     try {
         UnityEngine.Experimental.Rendering.RenderPass self = (UnityEngine.Experimental.Rendering.RenderPass)checkSelf(l);
         self.Dispose();
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Exemple #4
0
 public SubPass(RenderPass renderPass, RenderPassAttachment[] colors, RenderPassAttachment[] inputs, bool readOnlyDepth = false)
 {
     ScriptableRenderContext.BeginSubPassInternal(renderPass.context.Internal_GetPtr(), (colors == null) ? new RenderPassAttachment[0] : colors, (inputs == null) ? new RenderPassAttachment[0] : inputs, readOnlyDepth);
 }