Exemplo n.º 1
0
 public static Offset <UIGraphStructure> CreateUIGraphStructure(FlatBufferBuilder builder,
                                                                VectorOffset inputsOffset     = default(VectorOffset),
                                                                VectorOffset inputsPairOffset = default(VectorOffset),
                                                                VectorOffset outputsOffset    = default(VectorOffset),
                                                                VectorOffset variablesOffset  = default(VectorOffset),
                                                                VectorOffset opsOffset        = default(VectorOffset))
 {
     builder.StartObject(5);
     UIGraphStructure.AddOps(builder, opsOffset);
     UIGraphStructure.AddVariables(builder, variablesOffset);
     UIGraphStructure.AddOutputs(builder, outputsOffset);
     UIGraphStructure.AddInputsPair(builder, inputsPairOffset);
     UIGraphStructure.AddInputs(builder, inputsOffset);
     return(UIGraphStructure.EndUIGraphStructure(builder));
 }
Exemplo n.º 2
0
 public static UIGraphStructure GetRootAsUIGraphStructure(ByteBuffer _bb, UIGraphStructure obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }