public static Offset <SubFileInfo> CreateSubFileInfo(FlatBufferBuilder builder, StringOffset fileNameOffset = default(StringOffset), StringOffset shaderNameOffset = default(StringOffset)) { builder.StartObject(2); SubFileInfo.AddShaderName(builder, shaderNameOffset); SubFileInfo.AddFileName(builder, fileNameOffset); return(SubFileInfo.EndSubFileInfo(builder)); }
public static SubFileInfo GetRootAsSubFileInfo(ByteBuffer _bb, SubFileInfo obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }