예제 #1
0
파일: UIOp.cs 프로젝트: rghwer/testdocs
 public static Offset <UIOp> CreateUIOp(FlatBufferBuilder builder,
                                        StringOffset nameOffset         = default(StringOffset),
                                        StringOffset opNameOffset       = default(StringOffset),
                                        VectorOffset inputsOffset       = default(VectorOffset),
                                        VectorOffset outputsOffset      = default(VectorOffset),
                                        VectorOffset controlDepsOffset  = default(VectorOffset),
                                        StringOffset uiLabelExtraOffset = default(StringOffset))
 {
     builder.StartObject(6);
     UIOp.AddUiLabelExtra(builder, uiLabelExtraOffset);
     UIOp.AddControlDeps(builder, controlDepsOffset);
     UIOp.AddOutputs(builder, outputsOffset);
     UIOp.AddInputs(builder, inputsOffset);
     UIOp.AddOpName(builder, opNameOffset);
     UIOp.AddName(builder, nameOffset);
     return(UIOp.EndUIOp(builder));
 }
예제 #2
0
파일: UIOp.cs 프로젝트: rghwer/testdocs
 public static UIOp GetRootAsUIOp(ByteBuffer _bb, UIOp obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }