summaryrefslogtreecommitdiff
path: root/ddl/out/TestData.java
blob: aa6b6563353ee4d9b990d3f32ab4d25e0a041c36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
// generated file, do not modify!
// 2016-03-14T10:58:30.042864000000Z

import LambdaCube.IR;
import LambdaCube.Mesh;
import LambdaCube.PipelineSchema;

public class TestData {
  public class ClientInfo {
    public enum Tag { 
      ClientInfo
    }
    public Tag tag;

    public class ClientInfo extends ClientInfo { 
      public String clientName;
      public Backend clientBackend;
    }
  }

  public class Frame {
    public enum Tag { 
      Frame
    }
    public Tag tag;

    public class Frame extends Frame { 
      public Integer renderCount;
      public HashMap<String, Value> frameUniforms;
      public HashMap<String, Integer> frameTextures;
    }
  }

  public class Scene {
    public enum Tag { 
      Scene
    }
    public Tag tag;

    public class Scene extends Scene { 
      public HashMap<String, ArrayList<Integer>> objectArrays;
      public Integer renderTargetWidth;
      public Integer renderTargetHeight;
      public ArrayList<Frame> frames;
    }
  }

  public class PipelineInfo {
    public enum Tag { 
      PipelineInfo
    }
    public Tag tag;

    public class PipelineInfo extends PipelineInfo { 
      public String pipelineName;
      public Pipeline pipeline;
    }
  }

  public class RenderJob {
    public enum Tag { 
      RenderJob
    }
    public Tag tag;

    public class RenderJob extends RenderJob { 
      public ArrayList<Mesh> meshes;
      public ArrayList<String> textures;
      public PipelineSchema schema;
      public ArrayList<Scene> scenes;
      public ArrayList<PipelineInfo> pipelines;
    }
  }

  public class FrameResult {
    public enum Tag { 
      FrameResult
    }
    public Tag tag;

    public class FrameResult extends FrameResult { 
      public ArrayList<Float> frRenderTimes;
      public Integer frImageWidth;
      public Integer frImageHeight;
    }
  }

  public class RenderJobResult {
    public enum Tag { 
      RenderJobResult,
      RenderJobError
    }
    public Tag tag;

    public class RenderJobResult extends RenderJobResult { 
      public FrameResult _0;
    }
    public class RenderJobError extends RenderJobResult { 
      public String _0;
    }
  }

}